Skip to content

Commit

Permalink
fix gson not using the right relocation package
Browse files Browse the repository at this point in the history
  • Loading branch information
Jsinco committed Dec 21, 2024
1 parent 8751ee0 commit 23e947a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,13 @@ tasks {
}

shadowJar {
relocate("com.google.gson", "com.dre.brewery.depend.google.gson")
relocate("com.google.errorprone", "com.dre.brewery.depend.google.errorprone")
relocate("com.github.Anon8281.universalScheduler", "com.dre.brewery.depend.universalScheduler")
relocate("eu.okaeri", "com.dre.brewery.depend.okaeri")
relocate("com.mongodb", "com.dre.brewery.depend.mongodb")
relocate("io.papermc.lib", "com.dre.brewery.depend.paperlib")
val pack = "com.dre.brewery.depend"
relocate("com.google.gson", "$pack.google.gson")
relocate("com.google.errorprone", "$pack.google.errorprone")
relocate("com.github.Anon8281.universalScheduler", "$pack.universalScheduler")
relocate("eu.okaeri", "$pack.okaeri")
relocate("com.mongodb", "$pack.mongodb")
relocate("io.papermc.lib", "$pack.paperlib")

archiveClassifier.set("")
}
Expand Down

0 comments on commit 23e947a

Please sign in to comment.