diff --git a/build.gradle b/build.gradle index 5f15d98..15704f0 100644 --- a/build.gradle +++ b/build.gradle @@ -35,6 +35,7 @@ minecraft { // simply re-run your setup task after changing the mappings to update your workspace. mappings = "stable_29" // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. + replace "@version@", project.version } dependencies { diff --git a/src/main/java/io/github/cvronmin/railwayp/Reference.java b/src/main/java/io/github/cvronmin/railwayp/Reference.java index 5a81e5a..a9cd807 100644 --- a/src/main/java/io/github/cvronmin/railwayp/Reference.java +++ b/src/main/java/io/github/cvronmin/railwayp/Reference.java @@ -3,7 +3,7 @@ public class Reference { public static final String MODID = "railwayp"; public static final String NAME = "StatCraft"; - public static final String VERSION = "1.3"; + public static final String VERSION = "@version@"; public static final String CPROXY = "io.github.cvronmin.railwayp.client" + ".ClientProxy"; public static final String SPROXY = "io.github.cvronmin.railwayp" + ".CommonProxy"; }