Commit 9ae1dc6a by zhangchengbo

build:修改打包apk生成packageName

parent fa7c10dc
......@@ -124,9 +124,9 @@ android {
val currentDate = SimpleDateFormat("yyyyMMdd").format(Date())
if (flavorName.contains("honor")) {
this.outputFileName = "SFSY-ESM_L_${android.defaultConfig.versionName}_${"hn"}_${buildType}_${currentDate}_${android.defaultConfig.versionCode}.apk"
this.outputFileName = "SFSY-ESM_L_SMS${android.defaultConfig.versionName}_${"hn"}_${buildType}_${currentDate}_${android.defaultConfig.versionCode}.apk"
} else {
this.outputFileName = "SFSY-ESM_L_${android.defaultConfig.versionName}_${buildType}_${currentDate}_${android.defaultConfig.versionCode}.apk"
this.outputFileName = "SFSY-ESM_L_SMS${android.defaultConfig.versionName}_${buildType}_${currentDate}_${android.defaultConfig.versionCode}.apk"
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment