Gradle Play Publisher: uploads, track promotion and listing files from Gradle
GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
At a glance
- What is it?
- GPP wraps the Play Developer API in Gradle tasks for Android apps, covering upload, track promotion and listing metadata. It sits in maintenance mode, so the fit depends on whether its task set matches your build rather than on upstream momentum.
- Who is it for?
- Adopt GPP if your Android publishing already runs from Gradle and you want track promotion plus listing files handled inside the same build graph. Do not adopt it if you depend on upstream triage, because the README states that issues are ignored while pull requests are accepted, which puts the fix on your side.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 13 days ago.
- What is it written in?
- Mainly Kotlin, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.
Star history
- Triple-T/gradle-play-publisher4,323 ★ · +3
| Repository | 2026-09-23 | 2026-11-24 |
|---|---|---|
| Triple-T/gradle-play-publisher | 4.3k | 4.3k |
3 Stars in the last 62 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Why GPP puts upload, promotion and listings in one Gradle build
Gradle Play Publisher does one job: it turns the Play Developer API into Gradle tasks attached to your Android application modules. The README puts building, uploading and promoting an App Bundle or APK into the same task graph as publishing app listings and other metadata. For a team whose CI already runs Gradle to assemble a signed bundle, that matters because the upload no longer needs a separate tool with its own credentials file and its own record of what was built.
The audience is narrow: Android developers shipping through the Play Store who already have a signing configuration and have already done one manual upload. GPP cannot register an app. The Play Developer API offers no endpoint for that, so the first APK or bundle goes through the Play Console by hand before any task here does anything.
bootstrapListing is the only task that tests the whole credential chain
The service account setup is where a GPP project usually stalls, and the README suggests a single task to check it. Creating a GCP project, enabling the AndroidPublisher API, creating a service account and key, inviting that account's email into Play Console users and permissions, and pointing GPP at the JSON key are separate steps spread across the GCP console and the Play Console. The README's validation step is to run ./gradlew bootstrapListing or some other GPP task.
That choice makes failure legible. A wrong key path, an API that was never enabled, or an invited account with no app access all surface at the same task, rather than halfway through an assembled bundle.
serviceAccountCredentials names a file, so the key handling is yours
Once the account exists, authentication is a block sitting next to your android one. The plugin reads a file you name.
android { ... }
play {
serviceAccountCredentials.set(file("your-key.json"))
}That design is what makes GPP easy to drop into an existing build, and also what makes it awkward in a larger team. The README carries a note warning against committing unencrypted service account keys, so the key file has to be handled yourself: ignored in git, injected from a CI secret store, or fetched into the workspace before the task runs.
The plugin id and the snapshot coordinates disagree about installation
Published builds go through the plugins DSL on each com.android.application module, with the version pinned to 4.1.1.
plugins {
id("com.android.application")
id("com.github.triplet.play") version "4.1.1"
}Snapshot builds take a different route. Instead of the plugins block they need a buildscript classpath entry and a repository pointing at Sonatype, and the coordinates are not the plugin id: com.github.triplet.gradle:play-publisher at 5.0.0-SNAPSHOT.
buildscript {
repositories {
// ...
maven("https://oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
// ...
classpath("com.github.triplet.gradle:play-publisher:5.0.0-SNAPSHOT")
}
}A detail worth noticing: the snapshot stream is 5.x while the pinned build above is 4.1.1, so running a snapshot means running a different major version as well as unreleased code. Change DSL form, coordinate and version together, and do not assume the snapshot behaves like 4.1.1.
Play Console permissions, not Gradle config, decide which tracks you reach
The tasks are thin over API calls, so their reach ends where the service account's Play permissions end. The README is explicit that an invited account can be scoped to specific apps, and its worked example grants full access to testing tracks and app listings while leaving the account unable to make production releases. Production promotion through the plugin therefore depends on a permission grant you make in the console, not on anything you write in build.gradle.
The setup sequence also asks you to give the service account the Project Owner role in GCP while you work, with steps to remove that role once the connection is validated. Read plainly, that is broad temporary access held around the moment you run bootstrapListing. Keep the key out of shared repositories while that window is open.
Issues are ignored, pull requests are accepted
The README carries a project status section reading: "Issues are ignored, but pull requests are not. If you need to get something done, submit a PR!" That is the project's own statement of what kind of contribution it will accept, and it is unusual enough to plan around. You cannot file an issue about a Play API change that breaks a task and expect a diagnosis; the route to a fix is a patch you write.
The code is MIT licensed and the last push was on 2026-10-14, which places it close to current, but recent commits do not change the contribution rule. The practical consequence is that upstream will not absorb your integration work on your behalf. If a task does not fit how you publish, you own it. Products that bundle paid support or a vendor contract offer a different arrangement than this.
Where fastlane differs: a standalone CLI against in-build tasks
fastlane's supply lane is the common alternative, and the difference is structural rather than a matter of features. fastlane runs as its own Ruby tool with its own lanes, its own credentials file and its own CI step, so it publishes from any build system that can invoke a shell command. GPP runs inside the task graph of the module it is applied to, so an upload inherits that module's configuration and its variant model, including per-flavor disabling and combining artifacts into a single upload.
The trade is dependency direction. Gradle tasks give you one place to define what shipping means for an Android project with flavors and build types. A standalone CLI gives you one place to define it across several projects, and works where Gradle is not the build system at all. If publishing spans a website or a backend service, the CLI approach fits better; if it is one Android module with flavors, staying inside Gradle keeps the build smaller.
Editorial conclusion
Adopt GPP if your Android publishing already runs from Gradle and you want track promotion plus listing files handled inside the same build graph. Do not adopt it if you depend on upstream triage, because the README states that issues are ignored while pull requests are accepted, which puts the fix on your side. Verify first that ./gradlew bootstrapListing succeeds with your service account key, since the README names that task, or some other GPP task, as the check for the whole credential chain, from the AndroidPublisher API being enabled to Play Console permissions being granted.
Frequently asked questions
How do I publish to the Play Store?
With Gradle Play Publisher, the first APK or App Bundle must be uploaded by hand through the Google Play Console, because registering the app with the Play Store cannot be done through the Play Developer API. After that, the plugin's tasks handle uploads, track promotion and listing metadata. Run ./gradlew bootstrapListing to validate the service account setup before going further.
What does Gradle Play Publisher need for authentication?
It needs a JSON service account key from a GCP project where the AndroidPublisher API is enabled, plus Play Console permissions for that account's email. The key is referenced from the build file with serviceAccountCredentials.set(file("your-key.json")) in the play block.
Can Gradle Play Publisher promote a build to production?
Only if the service account holds the permissions for it. The setup example grants full access to testing tracks and app listings while leaving the account unable to make production releases, so production access is decided in the Play Console.
Will Gradle Play Publisher fix a bug I report?
Not through issues. The README states that issues are ignored and that pull requests are not, and points contributors at submitting a PR if something needs to be done. The project is MIT licensed.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/triple-t-gradle-play-publisher)Star history chart for your README
[](https://hysenlabs.com/projects/triple-t-gradle-play-publisher)Was this useful?