chore: 优化构建流程

This commit is contained in:
2024-01-19 18:06:53 +08:00
parent e3d036a57d
commit 2c2d8e448c
3 changed files with 6 additions and 1 deletions

View File

@@ -50,7 +50,6 @@ subprojects {
} }
shadowJar { shadowJar {
archiveClassifier = "" archiveClassifier = ""
destinationDirectory = rootProject.buildDir
relocate("io.netty", "cn.hamster3.mc.plugin.core.lib.io.netty") relocate("io.netty", "cn.hamster3.mc.plugin.core.lib.io.netty")
relocate("io.lettuce", "cn.hamster3.mc.plugin.core.lib.io.lettuce") relocate("io.lettuce", "cn.hamster3.mc.plugin.core.lib.io.lettuce")
relocate("reactor", "cn.hamster3.mc.plugin.core.lib.reactor") relocate("reactor", "cn.hamster3.mc.plugin.core.lib.reactor")

View File

@@ -44,4 +44,7 @@ tasks {
withType<Jar> { withType<Jar> {
archiveBaseName = "HamsterCore-Bukkit" archiveBaseName = "HamsterCore-Bukkit"
} }
shadowJar {
destinationDirectory = rootProject.buildDir
}
} }

View File

@@ -36,4 +36,7 @@ tasks {
withType<Jar> { withType<Jar> {
archiveBaseName = "HamsterCore-BungeeCord" archiveBaseName = "HamsterCore-BungeeCord"
} }
shadowJar {
destinationDirectory = rootProject.buildDir
}
} }