Commit c0c02b5e authored by wanglei's avatar wanglei

...打包后缀

parent 4b29226b
......@@ -24,7 +24,7 @@ android {
fun Long.toFormatTime3(): String {
return SimpleDateFormat("yyyy-MM-dd-HH-mm-ss", Locale.ENGLISH).format(this)
}
setProperty("archivesBaseName", "phone-tracker-v${System.currentTimeMillis().toFormatTime3()}")
setProperty("archivesBaseName", "phone-tracker-v$versionName($versionCode)-${System.currentTimeMillis().toFormatTime3()}")
signingConfigs {
create("release") {
......
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