build: publish tagged builds to Play internal testing
CI / build (push) Successful in 12m22s
CI / play (push) Successful in 3m19s

Apply Gradle Play Publisher 3.13.0 to the Android target, target the
internal track with AUTO version codes, and add a tag-only CI job that
decodes the upload keystore and uploads with the service account JSON
from repository secrets.

Document the one-time service account and secret setup.
This commit is contained in:
TapTap committed 2026-11-15 19:11:38 +00:00
1 parent 0491c78c7f
commit d9976a62bd
4 files changed
+90 -5

No files matched your search

+14
View File
@@ -1,6 +1,8 @@
@file:OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)
import java.util.Properties
import com.github.triplet.gradle.androidpublisher.ReleaseStatus
import com.github.triplet.gradle.androidpublisher.ResolutionStrategy
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@@ -10,6 +12,7 @@ plugins {
id("org.jetbrains.compose")
id("org.jetbrains.kotlin.plugin.compose")
id("com.android.application")
id("com.github.triplet.play")
}
// Release signing and version numbers come from the environment in CI, or from
@@ -161,6 +164,17 @@ android {
}
}
play {
// Upload the release AAB to the internal testing track. Credentials are
// never committed: CI sets ANDROID_PUBLISHER_CREDENTIALS, and local runs
// can use the same variable or PLAY_SERVICE_ACCOUNT_JSON in local.properties.
track.set("internal")
defaultToAppBundles.set(true)
releaseStatus.set(ReleaseStatus.COMPLETED)
// Ask Play for the next free version code instead of hand-bumping it.
resolutionStrategy.set(ResolutionStrategy.AUTO)
}
compose.desktop {
application {
mainClass = "win.taptap.musicmanager.client.MainKt"