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-18 00:10:08 +08:00
parent a577c49e56
commit b4f0b65264
10 changed files with 208 additions and 165 deletions

23
settings.gradle.kts Normal file
View File

@@ -0,0 +1,23 @@
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 "")
generateFrom(ROOT_PROJECT, SYSTEM_ENV)
}
sourcesCode { includeKeys("GITHUB_CI_COMMIT_ID") }
}
rootProject { all { isEnable = false } }
}
rootProject.name = "ColorOSNotifyIcon"
include(":app")