更新自动化获取版本号和版本名称

This commit is contained in:
田岩
2025-07-02 19:41:56 +08:00
parent 2d53cfc853
commit 91d397f31b
4 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ android {
applicationId "cn.com.jlbank.ai"
minSdkVersion 21
targetSdkVersion 33
versionCode 1
versionName "1.0"
versionCode System.getenv("versionCode") ?: 1
versionName System.getenv("versionName") ?: "1.0.0"
multiDexEnabled true
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8