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

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
Binary file not shown.
Binary file not shown.
+2 -3
View File
@@ -4,8 +4,7 @@
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Wed Jul 02 15:03:35 CST 2025
#Wed Jul 02 19:22:48 CST 2025
#sdk.dir=C\:\\Users\\ty\\AppData\\Local\\Android\\Sdk
sdk.dir=/data/jenkins/agent/workspace/tra-app-build-test/android-sdk
#sdk.dir=C\:\\Users\\ty\\AppData\\Local\\Android\\Sdk
+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