build: 优化构建脚本

This commit is contained in:
2023-10-13 17:08:02 +08:00
parent 22cad88179
commit 7f468d473b
4 changed files with 11 additions and 7 deletions

View File

@@ -1,18 +1,18 @@
evaluationDependsOn(":core-common")
dependencies {
api(project(":core-common")) { isTransitive = false }
implementation(project(":core-common")) { isTransitive = false }
compileOnly("org.spigotmc:spigot-api:+")
implementation("de.tr7zw:item-nbt-api:+")
compileOnly("net.milkbowl.vault:VaultAPI:+") { isTransitive = false }
compileOnly("org.black_ixx:playerpoints:+") { isTransitive = false }
api("net.kyori:adventure-platform-bukkit:4+") {
implementation("net.kyori:adventure-platform-bukkit:4+") {
exclude(group = "org.jetbrains")
exclude(group = "com.google.code.gson")
}
api("net.kyori:adventure-text-minimessage:4+") {
implementation("net.kyori:adventure-text-minimessage:4+") {
exclude(module = "adventure-api")
exclude(group = "org.jetbrains")
}