Commit 6c387ee47ec1827f1438ca60463a05aa5317f21f

Authored by 袁思汶
1 parent 77392fb2

jenkins调试 命名

Showing 1 changed file with 6 additions and 0 deletions
app/build.gradle
@@ -40,6 +40,12 @@ android { @@ -40,6 +40,12 @@ android {
40 dexOptions { 40 dexOptions {
41 javaMaxHeapSize '4g' 41 javaMaxHeapSize '4g'
42 } 42 }
  43 +
  44 + android.applicationVariants.all { variant ->
  45 + variant.outputs.all {
  46 + outputFileName = "NewMedia-${variant.versionName}-${variant.name}.apk"
  47 + }
  48 + }
43 } 49 }
44 50
45 dependencies { 51 dependencies {