添加release版,代码混淆配置。

This commit is contained in:
ZhanGSKen
2025-11-21 11:37:38 +08:00
parent 05850394ed
commit faf8c39fe9
5 changed files with 132 additions and 16 deletions

View File

@@ -38,13 +38,12 @@ android {
versionName = genVersionName("${versionName}")
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
// 确保 Java 7 兼容性(已适配项目技术栈)
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
dependencies {