diff options
author | glowredman <35727266+glowredman@users.noreply.github.com> | 2023-01-16 23:38:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-16 23:38:53 +0100 |
commit | 14a684e3cf336f9d2214e6e0903433806a784cae (patch) | |
tree | 81ccd2c1c0bc56fdd5070f709ec717cb71cedb97 | |
parent | 0ab242b0faf31226614e9bc31f4ae9b081bbb13d (diff) | |
download | GT5-Unofficial-14a684e3cf336f9d2214e6e0903433806a784cae.tar.gz GT5-Unofficial-14a684e3cf336f9d2214e6e0903433806a784cae.tar.bz2 GT5-Unofficial-14a684e3cf336f9d2214e6e0903433806a784cae.zip |
Add Version Token Replacment for API (#266)
* Change version token for main api
* Enable version token replacement for api info
Former-commit-id: ff47528934261eb0e57d871bb2c81867e806489c
-rw-r--r-- | gradle.properties | 2 | ||||
-rw-r--r-- | src/main/java/com/github/bartimaeusnek/bartworks/API/API_REFERENCE.java | 2 |
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"; } |