DEADSOFTWARE

Change default output apk name
authorfred-boy <fredboy@protonmail.com>
Fri, 27 Sep 2019 17:51:10 +0000 (00:51 +0700)
committerfred-boy <fredboy@protonmail.com>
Sun, 29 Sep 2019 04:39:18 +0000 (11:39 +0700)
android/build.gradle

index ef956e098bd8dd2c6dcdb6b317163b8960240a60..3430ac90888e3486f7f18a87bfd6d1687a5b876b 100644 (file)
@@ -25,6 +25,11 @@ android {
         versionCode 10
         versionName "alpha0.4"
     }
+    applicationVariants.all { variant ->
+        variant.outputs.all {
+            outputFileName = "android-${versionName}.apk"
+        }
+    }
     buildTypes {
         release {
             minifyEnabled false