Skip to content
CAI
Software that uses CAICheck a score

Triple-T/gradle-play-publisher

52.1

Weak · 13 November 2026

5k

lines of production code

Kotlin

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add built-in test app for manual plugin testing

A new test application has been added to the repository to facilitate manual testing of the plugin. This includes the necessary Gradle wrapper scripts (gradlew, gradlew.bat) to ensure consistent builds, a Google Play service account configuration file (google-play-auto-publisher.json) for publishing workflows, and a keystore properties file (keystore.properties) containing signing credentials required for the test app's build process.

testapp · high confidence

Add new project logo and license asset

The assets directory now includes a new SVG logo file and an HTML file displaying the Creative Commons Attribution 4.0 International License badge. This provides the visual identity asset and the required licensing attribution for the project.

assets · high confidence

New Play Publisher plugin configuration extension and plugin entry point

The plugin now exposes a new \PlayPublisherExtension\ class for configuring Google Play Publisher settings, including properties for authentication (service account credentials, application default credentials, service account impersonation), publishing behavior (default packaging method, commit behavior, track selection, promotion settings, rollout retention, user fraction, update priority, release status, release name, resolution strategy), and artifact management (prebuilt artifact directory, retainable artifacts). The \PlayPublisherPlugin\ applies this extension to the project, sets default values, and registers global tasks for bootstrapping listings, publishing APKs and bundles, uploading internal sharing artifacts, promoting releases, and publishing listings, products, and subscriptions. It also integrates with the Android Gradle Plugin to handle variants and configure per-variant extensions.

play/plugin/src/main/kotlin/com/github/triplet/gradle/play · high confidence

New utility functions for file and string operations

This change introduces new Kotlin utility files in the common/utils module to support internal operations. Constants.kt defines the plugin's internal name and Gradle task group. Io.kt adds helper functions for file system interactions, including safe directory and file creation, renaming, reading processed text, and navigating parent directories. Strings.kt provides a capitalize function for string manipulation. These utilities support the broader plugin architecture but are specific to the common/utils location.

common/utils · high confidence

Project initialization with Gradle Play Publisher v5.0.0-SNAPSHOT

The repository has been initialized with the Gradle Play Publisher plugin, currently at version 5.0.0-SNAPSHOT. This includes a comprehensive README documenting installation, authentication via service accounts, and usage for publishing Android App Bundles and APKs. The project setup features a new .editorconfig enforcing specific code style rules, a CODE\_OF\_CONDUCT.md, a CONTRIBUTING.md guide, and an MIT LICENSE. The Gradle wrapper scripts (gradlew and gradlew.bat) have been updated to modern POSIX-compliant standards, and the .gitignore has been expanded to exclude build artifacts and local configuration files.

(repo-wide) · high confidence

Removals

Removal of legacy Groovy Play Publisher plugin implementation

The legacy Groovy-based Play Publisher plugin (PlayPublisherPlugin) and its extension class have been removed from the source code. This deletion eliminates the previous mechanism that registered the 'play' Gradle plugin via META-INF/gradle-plugins and created basic publish tasks for release variants, indicating a shift away from this specific Groovy implementation.

src/main · high confidence

Behavioural changes

Centralized Maven publication configuration for Gradle Play Publisher

The build system now uses a new centralized configuration file to define Maven publication details for the Gradle Play Publisher plugin. This change standardizes how the plugin's metadata (name, description, URL, license, developer info, and SCM details) is structured for Maven publications and configures the Sonatype repository URLs and credentials for both release and snapshot builds, ensuring consistent publishing behavior.

buildSrc · high confidence

Enforce minimum Gradle 9.1.0 and Android Gradle Plugin 9.0 requirements

The plugin now validates the build environment at runtime, requiring Gradle 9.1.0 or higher and Android Gradle Plugin 9.0 or higher. If the installed versions are too old, the build fails with a clear error message and instructions on how to upgrade. Additionally, the plugin now checks that build variants are not debuggable before allowing publication, skipping or erroring on debuggable variants to prevent accidental release of debug builds.

common/validation/src/main · high confidence

New CLI options for release promotion and internal task refactoring

The plugin now exposes new command-line options for managing Play Store releases, including --retain-existing-rollout to keep staged rollouts active during promotion, --version-code to specify which version to promote, and --update-priority to set update priority. Additionally, the internal task hierarchy has been reorganized with new base classes and lifecycle tasks to support these options and improve build service integration.

play/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/internal · high confidence

New Google Play Publisher architecture with retry logic and rollout controls

The Android Publisher module has been rewritten with a new service-loader-based architecture, introducing \EditManager\ and \TrackManager\ interfaces to orchestrate Play Store operations. This update adds automatic retry with exponential backoff for 5xx responses and network errors (up to 3 minutes), a \retainExistingRollout\ option to prevent halting active rollouts during promotion, and support for Application Default Credentials with service account impersonation. It also includes proxy authentication support, improved error messages for credential parsing, and fixes for crashes when tracks or subscriptions are missing.

play/android-publisher/src/main · high confidence

New PlayPublisher interface with subscription support and service loader factory

The android-publisher module now exposes a new PlayPublisher interface that includes methods for managing in-app subscriptions (get, insert, update) alongside existing in-app products and internal sharing uploads. The factory for creating publisher instances has been migrated to use Java's ServiceLoader, allowing implementations to be discovered dynamically, and now supports Application Default Credentials with optional service account impersonation via a dedicated factory method.

android-publisher · high confidence

Re-architected Play Publisher tasks for improved reliability and configuration cache support

The tasks in the play plugin directory (CommitEdit, InstallInternalSharingArtifact, ProcessArtifactVersionCodes, PromoteRelease, PublishApk, PublishBundle, PublishInternalSharingApk, PublishInternalSharingBundle, PublishProducts, and PublishSubscriptions) have been rewritten to use a new worker-based architecture. This change improves compatibility with Gradle's configuration cache, fixes issues with auto-resolution version codes, and ensures that internal sharing artifacts are installed correctly via ADB. Users will experience more stable builds, better handling of release notes and track promotions, and support for uploading native debug symbols.

play/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks · high confidence

Refactor Play Worker base classes and parameter handling

The internal worker architecture for Play publishing tasks has been restructured. New base classes (PlayWorkerBase, EditWorkerBase, PublishArtifactWorkerBase) and a dedicated Params file now centralize configuration, API service access, and parameter copying logic. This refactoring introduces specific handling for release track names containing colons by supporting alternative file naming conventions (replacing colons with hyphens) when looking up release notes and console names, and ensures that commit actions are correctly scheduled or skipped based on configuration.

play/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/internal/workers · high confidence

Refactor internal plugin wiring and configuration resolution

The internal plugin implementation has been restructured to improve configuration cache compatibility and task isolation. A new \ApkSpec\ class now resolves APK file paths at task-action time rather than configuration time, preventing failures when the Gradle configuration cache is enabled. Task registration and \CommitEdit\ task lookup have been centralized in \Plugins.kt\, with logic added to respect isolated project settings and ensure tasks are registered in the correct project scope. Additionally, extension merging logic has been refined to correctly prioritize configuration overrides from CLI, product flavors, dimensions, and build types, ensuring that the highest-priority extension settings are applied consistently.

play/plugin/src/main/kotlin/com/github/triplet/gradle/play/internal · high confidence

Rewritten Play Publisher tasks with new architecture and worker-based execution

The plugin's core tasks (Bootstrap, GenerateResources, PublishListings) have been rewritten to use a new internal architecture that leverages Gradle WorkerExecutor for parallel, isolated execution of API calls and file operations. This change improves build performance and reliability by offloading heavy lifting to background workers, while also introducing incremental build support for resource generation and publishing. Users benefit from faster sync and publish cycles, better handling of large asset sets, and improved compatibility with Gradle's configuration caching and up-to-date checks.

plugin · high confidence

Test coverage

Add built-in test app for manual plugin testing; Added integration tests for edit and track management; Added test fixtures for mocking Play Publisher interactions; Added unit tests for runtime validation logic; Expanded integration test fixtures for Play Plugin resource generation and publishing.

Dependencies

Migrate build system to Gradle Kotlin DSL and modern dependency management

The project's build configuration has been completely rewritten from Groovy to the Gradle Kotlin DSL, introducing a modular structure with separate build scripts for the main plugin, common utilities, validation, and the Android publisher library. Dependency management is now centralized in version catalogs (defined in settings.gradle.kts), explicitly specifying versions for the Android Gradle Plugin (9.0.0), Google API clients, and JUnit 5. The build now uses the modern Gradle Plugin Portal publishing plugin and the Gradle Nexus Publish Plugin for artifact deployment, replacing the legacy Groovy-based Nexus plugin. Additionally, the test infrastructure has been updated to use JUnit Platform, and the build enforces stricter validation and parallel test execution.

(dependencies) · high confidence

Upgrade Gradle wrapper to version 9.3.0

The Gradle wrapper configuration in the testapp has been updated to use Gradle 9.3.0. This ensures that builds for this specific test application will execute using the specified Gradle distribution, aligning with the broader project upgrade to Gradle 9.3.0 and AGP 9.0.0.

gradle, testapp/gradle · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 52 → 52 (-0.4)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 98 → 96 (-1.7)
  • Architecture 98 → 98 (+0.0)
  • Maturity 56 → 56 (+0.0)
  • Readiness 32 → 31 (-0.5)
  • Security 76 → 76 (+0.0)

Resolved (3)

  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Duplicated block (20 lines × 2) (play/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/PublishApk.kt)
  • No ADRs found

New (115)

  • Duplicated block (10 lines × 2) (play/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/PublishInternalSharingApk.kt)
  • Duplicated block (20 lines × 2) (play/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/PublishApk.kt)
  • Duplicated block (7 lines × 2) (play/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/PublishProducts.kt)
  • Edited copy of a member (16 corresponding lines) (play/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/PublishProducts.kt)
  • Edited copy of a member (18 corresponding lines) (play/android-publisher/src/main/kotlin/com/github/triplet/gradle/androidpublisher/internal/DefaultPlayPublisher.kt)
  • Edited copy of a member (19 corresponding lines) (play/android-publisher/src/main/kotlin/com/github/triplet/gradle/androidpublisher/internal/DefaultPlayPublisher.kt)
  • Edited copy of a member (21 corresponding lines) (play/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/PublishProducts.kt)
  • Edited copy of a member (5 corresponding lines) (play/android-publisher/src/main/kotlin/com/github/triplet/gradle/androidpublisher/internal/DefaultEditManager.kt)
  • Edited copy of a member (8 corresponding lines) (play/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/PublishBundle.kt)
  • No ADRs found (testapp/build.gradle.kts)
  • Outdated (compile): com.google.api-client:google-api-client
  • Outdated (compile): com.google.auth:google-auth-library-credentials
  • Outdated (compile): com.google.auth:google-auth-library-oauth2-http
  • Outdated (compile): com.google.auto.value:auto-value-annotations
  • Outdated (compile): com.google.code.gson:gson
  • Outdated (compile): com.google.crypto.tink:tink
  • Outdated (compile): com.google.dagger:dagger
  • Outdated (compile): com.google.errorprone:error_prone_annotations
  • Outdated (compile): com.google.flatbuffers:flatbuffers-java
  • Outdated (compile): com.google.guava:failureaccess
  • …and 95 more

Changes since last survey

  • 1 commits — 1 feature/other, 0 fixes

By area

  • (root) — 1 commit

Notable commits

  • change: v4.1.2

Architecture

  • Unchanged — 0 containers · 2 contexts · 1 edges

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

Triple-T/gradle-play-publisher was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit d58fb4c3bec5b2fdeeb470d99c0a6f0e70883ab6 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.64+preprod-569132d3dfbe.