diff --git a/gradle.properties b/gradle.properties index b6a2494b..57552b62 100644 --- a/gradle.properties +++ b/gradle.properties @@ -50,10 +50,10 @@ enableGenericInjection = true # Generate a class with a String field for the mod version named as defined below. # If generateGradleTokenClass is empty or not missing, no such class will be generated. # If gradleTokenVersion is empty or missing, the field will not be present in the class. -generateGradleTokenClass = +generateGradleTokenClass = net.blay09.mods.craftingtweaks.Tags # Name of the token containing the project's current version to generate/replace. -gradleTokenVersion = +gradleTokenVersion = VERSION # [DEPRECATED] # Multiple source files can be defined here by providing a comma-separated list: Class1.java,Class2.java,Class3.java diff --git a/src/main/java/net/blay09/mods/craftingtweaks/CraftingTweaks.java b/src/main/java/net/blay09/mods/craftingtweaks/CraftingTweaks.java index b8ff811b..6e2331b7 100644 --- a/src/main/java/net/blay09/mods/craftingtweaks/CraftingTweaks.java +++ b/src/main/java/net/blay09/mods/craftingtweaks/CraftingTweaks.java @@ -30,7 +30,7 @@ import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; -@Mod(modid = CraftingTweaks.MOD_ID, name = "Crafting Tweaks", acceptableRemoteVersions = "*") +@Mod(modid = CraftingTweaks.MOD_ID, name = "Crafting Tweaks", version = Tags.VERSION, acceptableRemoteVersions = "*") public class CraftingTweaks { public enum ModSupportState {