diff --git a/dependencies.gradle b/dependencies.gradle index 8357232c..528ab437 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -4,13 +4,13 @@ dependencies { api("com.github.GTNewHorizons:BrandonsCore:1.2.0-GTNH:dev") api("curse.maven:cofh-lib-220333:2388748") - compileOnly("com.github.GTNewHorizons:ForestryMC:4.10.5:api") {transitive = false} + compileOnly("com.github.GTNewHorizons:ForestryMC:4.10.7:api") {transitive = false} compileOnly("com.github.GTNewHorizons:OpenComputers:1.11.13-GTNH:api") {transitive = false} compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.7.38-GTNH:dev") {transitive = false} compileOnly("com.github.GTNewHorizons:CodeChickenLib:1.3.0:dev") {transitive = false} compileOnly("com.github.GTNewHorizons:inventory-tweaks:1.7.1:dev") {transitive = false} compileOnly('com.github.GTNewHorizons:Baubles-Expanded:2.1.6-GTNH:dev') {transitive = false} - compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.227:dev") {transitive = false} + compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.244:dev") {transitive = false} compileOnly("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") {transitive = false} compileOnly("curse.maven:computercraft-67504:2269339") {transitive = false} diff --git a/gradle.properties b/gradle.properties index c1fbaa6a..e9e095ad 100644 --- a/gradle.properties +++ b/gradle.properties @@ -50,10 +50,10 @@ enableGenericInjection = false # 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 = com.brandon3055.draconicevolution.DETags # Name of the token containing the project's current version to generate/replace. -gradleTokenVersion = GRADLETOKEN_VERSION +gradleTokenVersion = VERSION # [DEPRECATED] Mod ID replacement token. gradleTokenModId = @@ -70,7 +70,7 @@ gradleTokenGroupName = # 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 = VersionHandler.java +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. diff --git a/src/main/java/com/brandon3055/draconicevolution/common/lib/VersionHandler.java b/src/main/java/com/brandon3055/draconicevolution/common/lib/VersionHandler.java index 3d102062..15399310 100644 --- a/src/main/java/com/brandon3055/draconicevolution/common/lib/VersionHandler.java +++ b/src/main/java/com/brandon3055/draconicevolution/common/lib/VersionHandler.java @@ -1,11 +1,13 @@ package com.brandon3055.draconicevolution.common.lib; +import com.brandon3055.draconicevolution.DETags; + /** * Created by Brandon on 24/02/2015. */ public class VersionHandler { - public static final String VERSION = "GRADLETOKEN_VERSION"; + public static final String VERSION = DETags.VERSION; public static final int SNAPSHOT = 0; public static final String MCVERSION = "1.7.10";