chore: migrate build script from groovy to kts

- using SweetDependency, SweetProperty
- merge singing key file configs to properties
- update gradle and dependencies
This commit is contained in:
2023-09-19 05:02:15 +08:00
parent 00512d6f95
commit b0a6c71300
14 changed files with 321 additions and 263 deletions

29
settings.gradle.kts Normal file
View File

@@ -0,0 +1,29 @@
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
plugins {
id("com.highcapable.sweetdependency") version "1.0.1"
id("com.highcapable.sweetproperty") version "1.0.2"
}
sweetProperty {
global {
all {
permanentKeyValues(
"GITHUB_CI_COMMIT_ID" to "",
"APP_CENTER_SECRET" to ""
)
generateFrom(ROOT_PROJECT, SYSTEM_ENV)
}
sourcesCode {
propertiesFileNames(".secret/secret.properties")
includeKeys("GITHUB_CI_COMMIT_ID", "APP_CENTER_SECRET")
}
}
rootProject { all { isEnable = false } }
}
rootProject.name = "AppErrorsTracking"
include(":module-app", ":demo-app")