diff --git a/creatures/build.gradle b/creatures/build.gradle index 00b870aa..de1ddd5a 100644 --- a/creatures/build.gradle +++ b/creatures/build.gradle @@ -34,7 +34,7 @@ minecraft { replace "@HARDCORE_ALCHEMY_CREATURES_VERSION@", project.version replaceIn "HardcoreAlchemyCreatures.java" - replace "\"required-before:\" + HardcoreAlchemy.MOD_ID", "\"required-before:\" + HardcoreAlchemy.MOD_ID + \"[\" + HardcoreAlchemy.VERSION + \"]\"" + replace "\"required-before:\" + HardcoreAlchemy.MOD_ID", "\"required-before:\" + HardcoreAlchemy.MOD_ID + \"@[\" + HardcoreAlchemy.VERSION + \"]\"" replaceIn "HardcoreAlchemyCreatures.java" clientJvmArgs += ["-Dfml.coreMods.load=targoss.hardcorealchemy.coremod.HardcoreAlchemyCoremod,${coremodPath}"] diff --git a/magic/build.gradle b/magic/build.gradle index f16c712f..748be92c 100644 --- a/magic/build.gradle +++ b/magic/build.gradle @@ -34,7 +34,7 @@ minecraft { replace "@HARDCORE_ALCHEMY_MAGIC_VERSION@", project.version replaceIn "HardcoreAlchemyMagic.java" - replace "\"required-before:\" + HardcoreAlchemy.MOD_ID", "\"required-before:\" + HardcoreAlchemy.MOD_ID + \"[\" + HardcoreAlchemy.VERSION + \"]\"" + replace "\"required-before:\" + HardcoreAlchemy.MOD_ID", "\"required-before:\" + HardcoreAlchemy.MOD_ID + \"@[\" + HardcoreAlchemy.VERSION + \"]\"" replaceIn "HardcoreAlchemyMagic.java" clientJvmArgs += ["-Dfml.coreMods.load=targoss.hardcorealchemy.coremod.HardcoreAlchemyCoremod,${coremodPath}"] diff --git a/modpack/build.gradle b/modpack/build.gradle index c0fa5340..c6514189 100644 --- a/modpack/build.gradle +++ b/modpack/build.gradle @@ -32,11 +32,11 @@ minecraft { replace "@HARDCORE_ALCHEMY_MODPACK_VERSION@", project.version replaceIn "HardcoreAlchemyModpack.java" - replace "\"required-before:\" + HardcoreAlchemy.MOD_ID", "\"required-before:\" + HardcoreAlchemy.MOD_ID + \"[\" + HardcoreAlchemy.VERSION + \"]\"" - replace "\"required-after:\" + HardcoreAlchemyTweaks.MOD_ID", "\"required-after:\" + HardcoreAlchemyTweaks.MOD_ID + \"[\" + HardcoreAlchemyTweaks.VERSION + \"]\"" - replace "\"required-after:\" + HardcoreAlchemyCreatures.MOD_ID", "\"required-after:\" + HardcoreAlchemyCreatures.MOD_ID + \"[\" + HardcoreAlchemyCreatures.VERSION + \"]\"" - replace "\"required-after:\" + HardcoreAlchemyMagic.MOD_ID", "\"required-after:\" + HardcoreAlchemyMagic.MOD_ID + \"[\" + HardcoreAlchemyMagic.VERSION + \"]\"" - replace "\"required-after:\" + HardcoreAlchemySurvival.MOD_ID", "\"required-after:\" + HardcoreAlchemySurvival.MOD_ID + \"[\" + HardcoreAlchemySurvival.VERSION + \"]\"" + replace "\"required-before:\" + HardcoreAlchemy.MOD_ID", "\"required-before:\" + HardcoreAlchemy.MOD_ID + \"@[\" + HardcoreAlchemy.VERSION + \"]\"" + replace "\"required-after:\" + HardcoreAlchemyTweaks.MOD_ID", "\"required-after:\" + HardcoreAlchemyTweaks.MOD_ID + \"@[\" + HardcoreAlchemyTweaks.VERSION + \"]\"" + replace "\"required-after:\" + HardcoreAlchemyCreatures.MOD_ID", "\"required-after:\" + HardcoreAlchemyCreatures.MOD_ID + \"@[\" + HardcoreAlchemyCreatures.VERSION + \"]\"" + replace "\"required-after:\" + HardcoreAlchemyMagic.MOD_ID", "\"required-after:\" + HardcoreAlchemyMagic.MOD_ID + \"@[\" + HardcoreAlchemyMagic.VERSION + \"]\"" + replace "\"required-after:\" + HardcoreAlchemySurvival.MOD_ID", "\"required-after:\" + HardcoreAlchemySurvival.MOD_ID + \"@[\" + HardcoreAlchemySurvival.VERSION + \"]\"" replaceIn "HardcoreAlchemyModpack.java" clientJvmArgs += [ diff --git a/survival/build.gradle b/survival/build.gradle index 0fce3971..82c6293e 100644 --- a/survival/build.gradle +++ b/survival/build.gradle @@ -34,7 +34,7 @@ minecraft { replace "@HARDCORE_ALCHEMY_SURVIVAL_VERSION@", project.version replaceIn "HardcoreAlchemySurvival.java" - replace "\"required-before:\" + HardcoreAlchemy.MOD_ID", "\"required-before:\" + HardcoreAlchemy.MOD_ID + \"[\" + HardcoreAlchemy.VERSION + \"]\"" + replace "\"required-before:\" + HardcoreAlchemy.MOD_ID", "\"required-before:\" + HardcoreAlchemy.MOD_ID + \"@[\" + HardcoreAlchemy.VERSION + \"]\"" replaceIn "HardcoreAlchemySurvival.java" clientJvmArgs += ["-Dfml.coreMods.load=targoss.hardcorealchemy.coremod.HardcoreAlchemyCoremod,${coremodPath}"] diff --git a/tweaks/build.gradle b/tweaks/build.gradle index 1aaedff5..2e4c9cee 100644 --- a/tweaks/build.gradle +++ b/tweaks/build.gradle @@ -34,7 +34,7 @@ minecraft { replace "@HARDCORE_ALCHEMY_TWEAKS_VERSION@", project.version replaceIn "HardcoreAlchemyTweaks.java" - replace "\"required-before:\" + HardcoreAlchemy.MOD_ID", "\"required-before:\" + HardcoreAlchemy.MOD_ID + \"[\" + HardcoreAlchemy.VERSION + \"]\"" + replace "\"required-before:\" + HardcoreAlchemy.MOD_ID", "\"required-before:\" + HardcoreAlchemy.MOD_ID + \"@[\" + HardcoreAlchemy.VERSION + \"]\"" replaceIn "HardcoreAlchemyTweaks.java" clientJvmArgs += ["-Dfml.coreMods.load=targoss.hardcorealchemy.coremod.HardcoreAlchemyCoremod,${coremodPath}"]