fix: 修复 1.12 及以下服务端无法启动的问题

This commit is contained in:
2023-08-25 01:16:57 +08:00
parent 62d4b14492
commit bc79b1ed48
3 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,6 @@ dependencies {
val redissionVersion = property("redission_version") val redissionVersion = property("redission_version")
implementation("org.redisson:redisson:${redissionVersion}") { implementation("org.redisson:redisson:${redissionVersion}") {
exclude(group = "io.netty") exclude(group = "io.netty")
exclude(group = "org.yaml")
exclude(group = "org.slf4j") exclude(group = "org.slf4j")
} }
} }

View File

@@ -59,6 +59,7 @@ subprojects {
) )
} }
shadowJar { shadowJar {
relocate("org.yaml", "cn.hamster3.mc.plugin.ball.lib.org.yaml")
destinationDirectory = rootProject.buildDir destinationDirectory = rootProject.buildDir
} }
build { build {

View File

@@ -1,3 +1,3 @@
org.gradle.jvmargs=-Xmx2G org.gradle.jvmargs=-Xmx8G
hamster_core_version=1.1.0-SNAPSHOT hamster_core_version=1.1.0-SNAPSHOT
redission_version=3.23.2 redission_version=3.23.2