打包生成apk名字修改

This commit is contained in:
huangjian
2021-07-21 17:18:43 +08:00
parent 85005a9ca0
commit 17cc77a576

View File

@@ -40,7 +40,7 @@ android {
variant ->
variant.outputs.all {
def date = new Date().format("MMddHHmm", TimeZone.getTimeZone("GMT+08"))
outputFileName = "accompany_" + buildType.name + "_v${Boolean.parseBoolean(with_jenkins) ? "" : (defaultConfig.versionName + "-" + date)}.apk"
outputFileName = "yinyou_" + buildType.name + "_v${Boolean.parseBoolean(with_jenkins) ? "" : (defaultConfig.versionName + "-" + date)}.apk"
}
}