Skip to content

Commit

Permalink
Relocate exposed to prevent conflict with other mods (e.g. Ledger)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdragh committed Dec 20, 2023
1 parent f90fdda commit f258a40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ subprojects {
// Luckily, shadow can relocate them to a different package.
relocate("org.apache.commons.collections4", "dev.erdragh.shadowed.org.apache.commons.collections4")

// Relocating Exposed somewhere different so other mods not doing that don't run into issues (e.g. Ledger)
relocate("org.jetbrains.exposed", "dev.erdragh.shadowed.org.jetbrains.exposed")

exclude(".cache/**") //Remove datagen cache from jar.
exclude("**/astralbot/datagen/**") //Remove data gen code from jar.
exclude("**/org/slf4j/**")
Expand Down

0 comments on commit f258a40

Please sign in to comment.