diff --git a/gradle.properties b/gradle.properties index f52636a..124644d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,10 +26,10 @@ developmentEnvironmentUserName = Developer # The string's content will be replaced with your mods version when compiled. You should use this to specify your mod's # version in @Mod([...], version = VERSION, [...]) # Leave these properties empty to skip individual token replacements -replaceGradleTokenInFile = +replaceGradleTokenInFile = Forbidden.java gradleTokenModId = gradleTokenModName = -gradleTokenVersion = +gradleTokenVersion = GRADLETOKEN_VERSION gradleTokenGroupName = # In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can diff --git a/src/main/java/fox/spiteful/forbidden/Forbidden.java b/src/main/java/fox/spiteful/forbidden/Forbidden.java index 352aa9e..556cede 100644 --- a/src/main/java/fox/spiteful/forbidden/Forbidden.java +++ b/src/main/java/fox/spiteful/forbidden/Forbidden.java @@ -25,7 +25,7 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent; import java.util.Collection; -@Mod(modid = "ForbiddenMagic", name = "Forbidden Magic", dependencies = "required-after:Thaumcraft@[4.2.2.0,);after:ThaumicTinkerer;after:AWWayofTime;after:Botania") +@Mod(modid = "ForbiddenMagic", name = "Forbidden Magic", version = "GRADLETOKEN_VERSION", dependencies = "required-after:Thaumcraft@[4.2.2.0,);after:ThaumicTinkerer;after:AWWayofTime;after:Botania") public class Forbidden { @Instance("ForbiddenMagic") public static Forbidden instance;