build: 优化构建脚本

This commit is contained in:
2023-10-23 19:04:24 +08:00
parent 433b6f2c05
commit a540b9091c
3 changed files with 11 additions and 2 deletions

View File

@@ -1,8 +1,10 @@
@file:Suppress("GradlePackageVersionRange")
evaluationDependsOn(":ball-common")
dependencies {
api(project(":ball-common")) { isTransitive = false }
compileOnly("org.spigotmc:spigot-api:+")
compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT")
compileOnly("cn.hamster3.mc.plugin:core-bukkit:+")
compileOnly("me.clip:placeholderapi:+") { isTransitive = false }