build: 优化构建脚本
This commit is contained in:
@@ -24,9 +24,7 @@ subprojects {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// https://mvnrepository.com/artifact/org.jetbrains/annotations
|
||||
compileOnly("org.jetbrains:annotations:+")
|
||||
// https://mvnrepository.com/artifact/org.projectlombok/lombok
|
||||
compileOnly("org.projectlombok:lombok:+")
|
||||
annotationProcessor("org.projectlombok:lombok:+")
|
||||
}
|
||||
|
@@ -8,12 +8,10 @@ dependencies {
|
||||
compileOnly("net.milkbowl.vault:VaultAPI:+") { isTransitive = false }
|
||||
compileOnly("org.black_ixx:playerpoints:+") { isTransitive = false }
|
||||
|
||||
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bungeecord
|
||||
api("net.kyori:adventure-platform-bukkit:4+") {
|
||||
exclude(group = "org.jetbrains")
|
||||
exclude(group = "com.google.code.gson")
|
||||
}
|
||||
// https://mvnrepository.com/artifact/net.kyori/adventure-text-minimessage
|
||||
api("net.kyori:adventure-text-minimessage:4+") {
|
||||
exclude(module = "adventure-api")
|
||||
exclude(group = "org.jetbrains")
|
||||
|
@@ -4,12 +4,10 @@ dependencies {
|
||||
api(project(":core-common")) { isTransitive = false }
|
||||
compileOnly("net.md-5:bungeecord-api:+")
|
||||
|
||||
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bungeecord
|
||||
api("net.kyori:adventure-platform-bungeecord:4+") {
|
||||
exclude(group = "org.jetbrains")
|
||||
exclude(group = "com.google.code.gson")
|
||||
}
|
||||
// https://mvnrepository.com/artifact/net.kyori/adventure-text-minimessage
|
||||
api("net.kyori:adventure-text-minimessage:4+") {
|
||||
exclude(module = "adventure-api")
|
||||
exclude(group = "org.jetbrains")
|
||||
|
@@ -1,14 +1,11 @@
|
||||
@file:Suppress("VulnerableLibrariesLocal")
|
||||
|
||||
dependencies {
|
||||
// https://mvnrepository.com/artifact/com.google.code.gson/gson
|
||||
compileOnly("com.google.code.gson:gson:2.8.0")
|
||||
|
||||
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-api
|
||||
api("net.kyori:adventure-platform-api:4+") {
|
||||
exclude(group = "org.jetbrains")
|
||||
}
|
||||
// https://mvnrepository.com/artifact/net.kyori/adventure-text-serializer-gson
|
||||
api("net.kyori:adventure-text-serializer-gson:4.13+") {
|
||||
exclude(group = "org.jetbrains")
|
||||
exclude(group = "com.google.code.gson")
|
||||
|
Reference in New Issue
Block a user