From 92459fd1d6e5ee9533ff514a99d6401c51fbcf6a Mon Sep 17 00:00:00 2001 From: KuryKat <57152799+KuryKat@users.noreply.github.com> Date: Fri, 13 Oct 2023 16:08:03 -0300 Subject: [PATCH] Relocate image4j to prevent ResolutionException fixes #45 --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index 2212406..f5e10a3 100644 --- a/build.gradle +++ b/build.gradle @@ -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) }