Skip to content

Commit

Permalink
Fix relocating lettuce
Browse files Browse the repository at this point in the history
  • Loading branch information
zbx1425 committed Aug 20, 2023
1 parent 2b5581f commit caac8e0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
7 changes: 7 additions & 0 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit caac8e0

Please sign in to comment.