Skip to content

Commit

Permalink
Fix dependency version requirements for release mods
Browse files Browse the repository at this point in the history
  • Loading branch information
asanetargoss committed Nov 7, 2021
1 parent fbdd1bf commit 4ab999c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion creatures/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"]
Expand Down
2 changes: 1 addition & 1 deletion magic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"]
Expand Down
10 changes: 5 additions & 5 deletions modpack/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 += [
Expand Down
2 changes: 1 addition & 1 deletion survival/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"]
Expand Down
2 changes: 1 addition & 1 deletion tweaks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"]
Expand Down

0 comments on commit 4ab999c

Please sign in to comment.