chore: 优化构建

This commit is contained in:
2024-01-19 18:05:18 +08:00
parent b7b7f89267
commit 8fce4251a7
3 changed files with 6 additions and 1 deletions

View File

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

View File

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

View File

@@ -50,7 +50,6 @@ subprojects {
}
shadowJar {
archiveClassifier = ""
destinationDirectory = rootProject.buildDir
}
build {
dependsOn(shadowJar)