打包生成apk名字修改
This commit is contained in:
@@ -40,7 +40,7 @@ android {
|
|||||||
variant ->
|
variant ->
|
||||||
variant.outputs.all {
|
variant.outputs.all {
|
||||||
def date = new Date().format("MMddHHmm", TimeZone.getTimeZone("GMT+08"))
|
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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user