Modify merge contents of build.gradle into constant definitions

This commit is contained in:
2023-04-15 23:16:35 +08:00
parent d0a9554a28
commit 42b0fa69b7
4 changed files with 52 additions and 23 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 = "2.95"
appVersionCode = 36
enableR8 = true
android = [
compileSdk: 33,
minSdk : 28,
targetSdk : 33
]
app = [
versionName : '2.95',
versionCode : 36,
signingConfigs: [
secretConfigsDirPath : "${projectDir.getAbsolutePath()}/.secret",
secretConfigsFileName: "key_store_secret.json"
]
]
}
task clean(type: Delete) {