diff options
Diffstat (limited to 'android')
| -rw-r--r-- | android/app/build.gradle.kts | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index fa098430df..f2a76b6d8d 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -1,5 +1,6 @@ import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties import com.android.build.gradle.internal.tasks.factory.dependsOn +import com.github.triplet.gradle.androidpublisher.ReleaseStatus import java.io.FileInputStream import java.util.Properties import org.gradle.internal.extensions.stdlib.capitalized @@ -53,6 +54,12 @@ android { } } + playConfigs { + register("playStagemoleRelease") { + enabled = true + } + } + androidResources { @Suppress("UnstableApiUsage") generateLocaleConfig = true @@ -315,7 +322,17 @@ tasks.create("printVersion") { } } -play { serviceAccountCredentials.set(file("play-api-key.json")) } +play { + serviceAccountCredentials.set(file("$credentialsPath/play-api-key.json")) + // Disable for all flavors by default. Only specific flavors should be enabled using PlayConfigs. + enabled = false + // This property refers to the Publishing API (not git). + commit = true + defaultToAppBundles = true + track = "internal" + releaseStatus = ReleaseStatus.COMPLETED + userFraction = 1.0 +} dependencies { implementation(projects.lib.common) |
