Skip to content

Commit

Permalink
only relocate configurate on paper
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmakila committed Jan 7, 2025
1 parent 6ff5670 commit 159d944
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ tasks {
"io.github._4drian3d.jdwebhooks",
"com.google.gson",
"org.bstats",
"org.spongepowered.configurate",
"dev.vankka.mcdiscordreserializer",
"org.incendo.cloud",
"io.leangen.geantyref"
).forEach { pkg ->
relocate(pkg, "fi.fabianadrian.webhooklogger.dependency.$pkg")
}
Expand Down
8 changes: 8 additions & 0 deletions paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,12 @@ tasks {
}
minecraftVersion("1.21.4")
}
shadowJar {
sequenceOf(
"org.spongepowered.configurate",
"io.leangen.geantyref"
).forEach { pkg ->
relocate(pkg, "fi.fabianadrian.webhooklogger.dependency.$pkg")
}
}
}

0 comments on commit 159d944

Please sign in to comment.