build: 优化构建脚本
This commit is contained in:
@@ -48,6 +48,7 @@ subprojects {
|
|||||||
}
|
}
|
||||||
shadowJar {
|
shadowJar {
|
||||||
archiveClassifier = ""
|
archiveClassifier = ""
|
||||||
|
destinationDirectory = rootProject.buildDir
|
||||||
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")
|
||||||
|
@@ -32,7 +32,4 @@ tasks {
|
|||||||
withType<Jar> {
|
withType<Jar> {
|
||||||
archiveBaseName = "HamsterCore-Bukkit"
|
archiveBaseName = "HamsterCore-Bukkit"
|
||||||
}
|
}
|
||||||
shadowJar {
|
|
||||||
destinationDirectory = rootProject.buildDir
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -28,7 +28,4 @@ tasks {
|
|||||||
withType<Jar> {
|
withType<Jar> {
|
||||||
archiveBaseName = "HamsterCore-BungeeCord"
|
archiveBaseName = "HamsterCore-BungeeCord"
|
||||||
}
|
}
|
||||||
shadowJar {
|
|
||||||
destinationDirectory = rootProject.buildDir
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user