Modify merge contents of build.gradle into constant definitions

This commit is contained in:
2023-04-15 23:16:55 +08:00
parent eeb7966448
commit ff941171f9
4 changed files with 51 additions and 22 deletions

View File

@@ -2,12 +2,23 @@ plugins {
id 'com.android.application' version '7.4.1' apply false
id 'com.android.library' version '7.4.1' apply false
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false
id 'com.google.devtools.ksp' version '1.8.20-1.0.10' apply false
}
ext {
appVersionName = "1.95"
appVersionCode = 19
enableR8 = true
android = [
compileSdk: 33,
minSdk : 29,
targetSdk : 33
]
app = [
versionName : '1.95',
versionCode : 19,
signingConfigs: [
secretConfigsDirPath : "${projectDir.getAbsolutePath()}/.secret",
secretConfigsFileName: "key_store_secret.json"
]
]
}
task clean(type: Delete) {