Skip to content

Commit

Permalink
Relocate image4j to prevent ResolutionException
Browse files Browse the repository at this point in the history
  • Loading branch information
KuryKat committed Oct 13, 2023
1 parent 7eae2d1 commit d65f660
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ shadowJar {
// Apache Commons Imaging needs to be put somewhere else to prevent a NoClassDefFoundError
relocate "org.apache.commons.imaging", "${project.group}.shadow.org.apache.commons.imaging"

// image4j needs to be put somewhere else to prevent a ResolutionException with other mods - See Issue #45
relocate "net.sf.image4j", "${project.group}.shadow.net.sf.image4j"

manifest.from(MANIFEST)
}

Expand Down

0 comments on commit d65f660

Please sign in to comment.