diff --git a/fabric/build.gradle b/fabric/build.gradle index 5bcd635..1bc9fa8 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -54,6 +54,13 @@ shadowJar { configurations = [project.configurations.shadowCommon] classifier "dev-shadow" + + dependencies { + it.exclude it.dependency('io.netty:.*') + } + relocate "reactor", "vendor.cn.zbx1425.worldcomment.reactor" + relocate "io.lettuce", "vendor.cn.zbx1425.worldcomment.io.lettuce" + relocate "org.reactivestreams", "vendor.cn.zbx1425.worldcomment.org.reactivestreams" } remapJar { diff --git a/forge/build.gradle b/forge/build.gradle index 2c3e948..bc62234 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -48,6 +48,13 @@ shadowJar { configurations = [project.configurations.shadowCommon] classifier "dev-shadow" + + dependencies { + it.exclude it.dependency('io.netty:.*') + } + relocate "reactor", "vendor.cn.zbx1425.worldcomment.reactor" + relocate "io.lettuce", "vendor.cn.zbx1425.worldcomment.io.lettuce" + relocate "org.reactivestreams", "vendor.cn.zbx1425.worldcomment.org.reactivestreams" } remapJar {