Skip to content

Commit

Permalink
打包命名
Browse files Browse the repository at this point in the history
  • Loading branch information
张国栋 committed May 12, 2022
1 parent 3d10aa6 commit 539224c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ android {
minSdkVersion 24
targetSdkVersion 29
versionCode 1
versionName "1.0"
versionName "1.0.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -21,6 +21,12 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "carIdentify_${buildType.name}_v${versionName}.apk"
}
}

}

dependencies {
Expand Down

0 comments on commit 539224c

Please sign in to comment.