Browse Source

Merge pull request #2413 from nextcloud/nameAPK

renames apk to include versionCode
Andy Scherzinger 7 years ago
parent
commit
71e108dcae
1 changed files with 6 additions and 0 deletions
  1. 6 0
      build.gradle

+ 6 - 0
build.gradle

@@ -263,5 +263,11 @@ tasks.withType(Test) {
     }
 }
 
+android.applicationVariants.all { variant ->
+    variant.outputs.all { output ->
+        outputFileName = "${output.baseName}-${variant.versionCode}.apk"
+    }
+}
+
 // uncomment for gplay (must be at the bottom)
 //apply plugin: 'com.google.gms.google-services'