diff --git a/dependencies.gradle b/dependencies.gradle index 7d6973ee..c6680e57 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,7 +1,7 @@ // Add your dependencies here dependencies { - compileOnlyApi('com.github.GTNewHorizons:Angelica:1.0.0-alpha42:api') + compileOnlyApi('com.github.GTNewHorizons:Angelica:1.0.0-alpha50:api') api("com.github.GTNewHorizons:Mantle:0.4.1:dev") api("com.github.GTNewHorizons:ForgeMultipart:1.4.8:dev") implementation("com.github.GTNewHorizons:NotEnoughItems:2.6.0-GTNH:dev") diff --git a/gradle.properties b/gradle.properties index a6307f98..28d3837f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -41,22 +41,22 @@ developmentEnvironmentUserName = Developer # Enables using modern Java syntax (up to version 17) via Jabel, while still targeting JVM 8. # See https://github.com/bsideup/jabel for details on how this works. -enableModernJavaSyntax = false +enableModernJavaSyntax = true # Enables injecting missing generics into the decompiled source code for a better coding experience. # Turns most publicly visible List, Map, etc. into proper List, Map types. -enableGenericInjection = false +enableGenericInjection = true # 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 = tconstruct.Tags # Name of the token containing the project's current version to generate/replace. -gradleTokenVersion = GRADLETOKEN_VERSION +gradleTokenVersion = VERSION # [DEPRECATED] Mod ID replacement token. -gradleTokenModId = GRADLETOKEN_MODID +gradleTokenModId = # [DEPRECATED] Mod name replacement token. gradleTokenModName = @@ -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 = TConstruct.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/tconstruct/TConstruct.java b/src/main/java/tconstruct/TConstruct.java index e98799a4..25cad19c 100644 --- a/src/main/java/tconstruct/TConstruct.java +++ b/src/main/java/tconstruct/TConstruct.java @@ -103,7 +103,7 @@ import tconstruct.world.village.VillageToolStationHandler; + "before:UndergroundBiomes") public class TConstruct { - public static final String modVersion = "GRADLETOKEN_VERSION"; + public static final String modVersion = Tags.VERSION; /** The value of one ingot in millibuckets */ public static final int ingotLiquidValue = 144;