buildSrc/src/main/kotlin/AndroidPlayStorePublisher.kt
changeset 399 d7616118282e
parent 398 164702325c93
child 611 91b8d76c03cd
--- a/buildSrc/src/main/kotlin/AndroidPlayStorePublisher.kt	Fri Aug 23 12:37:55 2019 -0700
+++ b/buildSrc/src/main/kotlin/AndroidPlayStorePublisher.kt	Fri Aug 23 13:04:48 2019 -0700
@@ -57,6 +57,11 @@
         register("free") {
             isEnabled = false
         }
+        register("google") {
+            // we always build the release as a separate step when publishing
+            // use artifactDir to be sure that publish don't rebuild it
+            artifactDir = file("$buildDir/outputs/bundle/googleRelease")
+        }
     }
 
     tasks.apply {