diff --git a/build.gradle b/build.gradle index 07dee8e..7b88a74 100644 --- a/build.gradle +++ b/build.gradle @@ -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) }