|
@@ -1,10 +1,14 @@
|
|
|
-apply plugin: 'com.android.application'
|
|
|
|
|
|
|
+plugins{
|
|
|
|
|
+ id 'com.android.application'
|
|
|
|
|
|
|
|
-apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
+ id'kotlin-android'
|
|
|
|
|
|
|
|
-apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
|
+ id 'kotlin-android-extensions'
|
|
|
|
|
|
|
|
-apply plugin: 'kotlin-kapt'
|
|
|
|
|
|
|
+ id 'kotlin-kapt'
|
|
|
|
|
+
|
|
|
|
|
+ id 'com.github.triplet.play' version '2.0.0'
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
android {
|
|
android {
|
|
|
compileSdkVersion 29
|
|
compileSdkVersion 29
|
|
@@ -81,3 +85,11 @@ dependencies {
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.2.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.2.0'
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+// Configuration for com.github.triplet.play deployment
|
|
|
|
|
+play {
|
|
|
|
|
+ track = 'beta' // or alpha or beta...
|
|
|
|
|
+ serviceAccountCredentials = file(System.getenv("PRIVATE_KEY") ?: "private_key.json")
|
|
|
|
|
+ defaultToAppBundles = true // Use App Bundle instead of APK
|
|
|
|
|
+ resolutionStrategy = "ignore" //If the deployment fails due to an API error, don't fail the CI Build
|
|
|
|
|
+}
|