aboutsummaryrefslogtreecommitdiff
path: root/gradle.properties
diff options
context:
space:
mode:
Diffstat (limited to 'gradle.properties')
-rw-r--r--gradle.properties17
1 files changed, 10 insertions, 7 deletions
diff --git a/gradle.properties b/gradle.properties
index 6fa91ac230..7b394d5ef5 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -21,16 +21,19 @@ forgeVersion = 10.13.4.1614
# Do you need to test how your custom blocks interacts with a player that is not the owner? -> leave name empty
developmentEnvironmentUserName = Developer
-# Define a source file of your project with:
-# public static final String VERSION = "GRADLETOKEN_VERSION";
-# 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,API_REFERENCE.java
+# Generate a class with String fields for the mod id, name, version and group name named with the fields below
+generateGradleTokenClass = com.github.bartimaeusnek.bartworks.API.API_REFERENCE
gradleTokenModId =
gradleTokenModName =
-gradleTokenVersion = GRADLETOKEN_VERSION
+gradleTokenVersion = VERSION
gradleTokenGroupName =
+# [DEPRECATED]
+# Multiple source files can be defined here by providing a comma-seperated list: Class1.java,Class2.java,Class3.java
+# public static final String VERSION = "GRADLETOKEN_VERSION";
+# The string's content will be replaced with your mod's 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 =
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can
# leave this property empty.