build: 优化构建脚本

This commit is contained in:
2023-08-20 17:13:02 +08:00
parent 9e6d39469d
commit 67ca9453b3
4 changed files with 5 additions and 9 deletions

View File

@@ -39,10 +39,10 @@ subprojects {
}
tasks {
withType<JavaCompile>().configureEach {
withType<JavaCompile>() {
options.encoding = "UTF-8"
}
withType<Jar>().configureEach {
withType<Jar>() {
from(rootProject.file("LICENSE"))
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
@@ -61,7 +61,6 @@ subprojects {
"http://milkbowl.github.io/VaultAPI",
"https://bukkit.windit.net/javadoc"
)
}
shadowJar {
archiveClassifier = ""