From 3c9f017bda459fa19505a817ddbd4fcaaa0304da Mon Sep 17 00:00:00 2001 From: Roman Tsisyk Date: Tue, 31 Aug 2021 10:58:34 +0300 Subject: [PATCH] [android] Tweak Huawei and Google Play publishing - [google] Publish to production without manual approval. - [huawei] Update Gradle plugin to support Gradle 7.x. - [huawei] Publish to production without manual approval. Signed-off-by: Roman Tsisyk --- android/build.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index ccf46143fd..58f8116f09 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -44,7 +44,7 @@ buildscript { } classpath("com.github.triplet.gradle:play-publisher:3.6.0") - classpath("ru.cian:huawei-publish-gradle-plugin:1.2.4") + classpath("ru.cian:huawei-publish-gradle-plugin:1.3.0") } } @@ -436,9 +436,10 @@ import com.github.triplet.gradle.androidpublisher.ReleaseStatus play { enabled.set(false) - track.set("alpha") // = Closed Testing + track.set("production") + userFraction.set(Double.valueOf(0.05)) // 5% defaultToAppBundles.set(true) - releaseStatus.set(ReleaseStatus.DRAFT) + releaseStatus.set(ReleaseStatus.COMPLETED) serviceAccountCredentials.set(file("google-play.json")) } @@ -447,7 +448,7 @@ huaweiPublish { huaweiRelease { credentialsPath = "$rootDir/huawei-appgallery.json" buildFormat = "aab" - deployType = 'draft' + deployType = 'publish' } } }