build: 优化构建脚本
This commit is contained in:
@@ -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 = ""
|
||||
|
Reference in New Issue
Block a user