mirror of
https://github.com/KitsunePie/AppErrorsTracking.git
synced 2025-09-01 16:55:18 +08:00
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:
29
settings.gradle.kts
Normal file
29
settings.gradle.kts
Normal 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")
|
Reference in New Issue
Block a user