build: 修改构建脚本

This commit is contained in:
2023-11-20 16:15:28 +08:00
parent d32d7c550d
commit a62703bbe3
4 changed files with 10 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
evaluationDependsOn(":ball-common")
dependencies {
api(project(":ball-common")) { isTransitive = false }
implementation(project(":ball-common")) { isTransitive = false }
compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT")
compileOnly("cn.hamster3.mc.plugin:core-bukkit:+")
@@ -18,7 +18,7 @@ tasks {
expand(project.properties)
}
}
withType<Jar>() {
withType<Jar> {
archiveBaseName = "HamsterBall-Bukkit"
}
}