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 ab04928 commit 92459fd
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 @@ -106,6 +106,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 92459fd

Please sign in to comment.