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