Modify merge contents of build.gradle into constant definitions

This commit is contained in:
2023-04-15 23:01:55 +08:00
parent e19f8ea4af
commit 07e13ccf04
6 changed files with 80 additions and 44 deletions

View File

@@ -2,10 +2,22 @@ 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.2"
appVersionCode = 4
enableR8 = true
android = [
compileSdk: 33,
minSdk : 24,
targetSdk : 33,
ndkVersion: '24.0.8215888'
]
app = [
versionName : '1.2',
versionCode : 4,
signingConfigs: [
secretConfigsDirPath : "${projectDir.getAbsolutePath()}/.secret",
secretConfigsFileName: "key_store_secret.json"
]
]
}