Commit fe58e8a0 authored by songjianyu's avatar songjianyu

[修改] 版本提升

parent 0b3c14cf
...@@ -18,15 +18,18 @@ android { ...@@ -18,15 +18,18 @@ android {
applicationId = "com.link.play.fit.ai.test1"// "com.link.play.fit.ai.test1" applicationId = "com.link.play.fit.ai.test1"// "com.link.play.fit.ai.test1"
minSdk = 24 minSdk = 24
targetSdk = 35 targetSdk = 35
versionCode = 2 versionCode = 3
versionName = "1.1" versionName = "1.2"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
fun Long.toFormatTime3(): String { fun Long.toFormatTime3(): String {
return SimpleDateFormat("yyyy-MM-dd-HH-mm-ss", Locale.ENGLISH).format(this) return SimpleDateFormat("yyyy-MM-dd-HH-mm-ss", Locale.ENGLISH).format(this)
} }
setProperty("archivesBaseName", "appzxhy-v$versionName($versionCode)-${System.currentTimeMillis().toFormatTime3()}") setProperty(
"archivesBaseName",
"appzxhy-v$versionName($versionCode)-${System.currentTimeMillis().toFormatTime3()}"
)
ndk { ndk {
// 设置支持的 ABI 架构 // 设置支持的 ABI 架构
......
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