feat: 使用 redission 作为消息中间件
This commit is contained in:
30
ball-bungeecord/build.gradle.kts
Normal file
30
ball-bungeecord/build.gradle.kts
Normal file
@@ -0,0 +1,30 @@
|
||||
evaluationDependsOn(":ball-common")
|
||||
|
||||
dependencies {
|
||||
implementation(project(":ball-common")) { isTransitive = false }
|
||||
|
||||
compileOnly("net.md-5:bungeecord-api:1.20-R0.1-SNAPSHOT")
|
||||
|
||||
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}") {
|
||||
exclude(group = "io.netty")
|
||||
exclude(group = "org.yaml")
|
||||
exclude(group = "org.slf4j")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tasks {
|
||||
processResources {
|
||||
filesMatching("bungee.yml") {
|
||||
expand(project.properties)
|
||||
}
|
||||
}
|
||||
withType<Jar>() {
|
||||
archiveBaseName = "HamsterBall-BungeeCord"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user