feat: 使用 guava 的 EventBus

This commit is contained in:
2023-11-11 17:54:40 +08:00
parent 167e845bae
commit a5c2eec5e5
41 changed files with 642 additions and 864 deletions

View File

@@ -0,0 +1,23 @@
@file:Suppress("VulnerableLibrariesLocal", "GradlePackageVersionRange", "GradlePackageUpdate")
evaluationDependsOn(":ball-common")
dependencies {
api(project(":ball-common")) { isTransitive = false }
compileOnly("net.md-5:bungeecord-api:+")
compileOnly("cn.hamster3.mc.plugin:core-bungeecord:+")
implementation("io.lettuce:lettuce-core:+")
}
tasks {
processResources {
filesMatching("bungee.yml") {
expand(project.properties)
}
}
withType<Jar>() {
archiveBaseName = "HamsterBall-BungeeCord"
}
}