build: 优化依赖

This commit is contained in:
2024-08-09 04:14:35 +08:00
parent 608a6ef289
commit 6beabf4ec4
5 changed files with 11 additions and 31 deletions

View File

@@ -38,6 +38,11 @@ subprojects {
}
tasks {
processResources {
filesMatching("update.yml") {
expand(rootProject.properties)
}
}
withType<JavaCompile> {
options.encoding = "UTF-8"
}
@@ -45,11 +50,6 @@ subprojects {
from(rootProject.file("LICENSE"))
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
processResources {
filesMatching("update.yml") {
expand(rootProject.properties)
}
}
build {
dependsOn(shadowJar)
}