diff --git a/CHANGELOG.md b/CHANGELOG.md index 669aa3b..6a3c493 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ # Changelog +# v2.2.1 + +## Bug fixes + +- Fixed a compatibility issue with other mods that also use the image4j library. ([#45](https://github.com/zlepper/itlt/issues/45)) + # v2.2.0 ## New features diff --git a/build.gradle b/build.gradle index 3484298..d55d992 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ plugins { apply plugin: "org.spongepowered.mixin" apply plugin: "org.parchmentmc.librarian.forgegradle" -version = "1.17.1-2.2.0" // remember to update mods.toml and itlt.VERSION too +version = "1.17.1-2.2.1" // remember to update mods.toml and itlt.VERSION too group = "dk.zlepper.itlt" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "itlt" @@ -116,6 +116,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) } diff --git a/src/main/java/dk/zlepper/itlt/itlt.java b/src/main/java/dk/zlepper/itlt/itlt.java index 2413122..e1899b5 100644 --- a/src/main/java/dk/zlepper/itlt/itlt.java +++ b/src/main/java/dk/zlepper/itlt/itlt.java @@ -14,7 +14,7 @@ public final class itlt { public static final String MOD_ID = "itlt", - VERSION = "2.2.0"; + VERSION = "2.2.1"; public static final Logger LOGGER = LogManager.getLogger(); public static ModLoadingContext modLoadingContext; diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index d2486f8..0669c7d 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -10,7 +10,7 @@ license="MIT" # The modid of the mod modId="itlt" #mandatory # The version number of the mod - there's a few well known ${} variables usable here or just hardcode it -version="2.2.0" #mandatory +version="2.2.1" #mandatory # A display name for the mod displayName="It's The Little Things" #mandatory # A URL to query for updates for this mod. See the JSON update specification