aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gradle.properties2
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/API/API_REFERENCE.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/gradle.properties b/gradle.properties
index 973bce915d..6fa91ac230 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -26,7 +26,7 @@ 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 = MainMod.java
+replaceGradleTokenInFile = MainMod.java,API_REFERENCE.java
gradleTokenModId =
gradleTokenModName =
gradleTokenVersion = GRADLETOKEN_VERSION
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/API/API_REFERENCE.java b/src/main/java/com/github/bartimaeusnek/bartworks/API/API_REFERENCE.java
index 74c6a7c778..97de86473e 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/API/API_REFERENCE.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/API/API_REFERENCE.java
@@ -22,5 +22,5 @@
package com.github.bartimaeusnek.bartworks.API;
public final class API_REFERENCE {
- public static final String VERSION = "@apiversion@";
+ public static final String VERSION = "GRADLETOKEN_VERSION";
}