build: 优化构建脚本
This commit is contained in:
@@ -43,7 +43,11 @@ subprojects {
|
||||
from(rootProject.file("LICENSE"))
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
}
|
||||
jar {
|
||||
archiveClassifier = "dev"
|
||||
}
|
||||
shadowJar {
|
||||
archiveClassifier = ""
|
||||
relocate("net.kyori", "cn.hamster3.mc.plugin.core.lib.net.kyori")
|
||||
relocate("com.zaxxer.hikari", "cn.hamster3.mc.plugin.core.lib.com.zaxxer.hikari")
|
||||
relocate("de.tr7zw.changeme.nbtapi", "cn.hamster3.mc.plugin.core.lib.de.tr7zw.nbtapi")
|
||||
|
Reference in New Issue
Block a user