build: 优化依赖
This commit is contained in:
@@ -1,25 +1,19 @@
|
||||
evaluationDependsOn(":ball-common")
|
||||
|
||||
dependencies {
|
||||
implementation(project(":ball-common")) { isTransitive = false }
|
||||
api(project(":ball-common")) { isTransitive = false }
|
||||
compileOnly("net.md-5:bungeecord-api:+")
|
||||
|
||||
compileOnly("net.md-5:bungeecord-api:1.20-R0.1-SNAPSHOT")
|
||||
compileOnly("cn.hamster3.mc.plugin:core-bungeecord:+")
|
||||
|
||||
val hamsterCoreVersion = property("hamster_core_version")
|
||||
compileOnly("cn.hamster3.mc.plugin:core-bungeecord:${hamsterCoreVersion}")
|
||||
compileOnly("me.clip:placeholderapi:2.11.2") { isTransitive = false }
|
||||
|
||||
val redissionVersion = property("redission_version")
|
||||
implementation("org.redisson:redisson:${redissionVersion}") {
|
||||
implementation("org.redisson:redisson:+") {
|
||||
exclude(group = "io.netty")
|
||||
exclude(group = "org.yaml")
|
||||
exclude(group = "org.slf4j")
|
||||
}
|
||||
// https://mvnrepository.com/artifact/io.netty/netty-resolver-dns
|
||||
implementation("io.netty:netty-resolver-dns:4.1.96.Final")
|
||||
implementation("io.netty:netty-resolver-dns:+")
|
||||
}
|
||||
|
||||
|
||||
tasks {
|
||||
processResources {
|
||||
filesMatching("bungee.yml") {
|
||||
|
Reference in New Issue
Block a user