cherry pick: Commit: d9e95924cd [d9e9592]

update deps + enable modern & generic injection
This commit is contained in:
Lyfts authored and Martin Robertz committed 2024-05-20 18:48:24 +02:00
1 parent ff9dd131c2
commit d969874c3d
3 files changed
+11 -11

No files matched your search

+4 -4
View File
@@ -1,14 +1,14 @@
// Add your dependencies here
dependencies {
compileOnlyApi('com.github.GTNewHorizons:Angelica:1.0.0-alpha36a: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.5.25-GTNH:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.6.0-GTNH:dev")
compileOnlyApi("curse.maven:cofh-core-69162:2388751")
compileOnly("com.github.GTNewHorizons:inventory-tweaks:1.6.2:api")
compileOnly("com.github.GTNewHorizons:waila:1.7.2:api")
compileOnly("com.github.GTNewHorizons:Battlegear2:1.3.6:api") {
compileOnly("com.github.GTNewHorizons:waila:1.7.3:api")
compileOnly("com.github.GTNewHorizons:Battlegear2:1.4.0:api") {
}
compileOnly("curse.maven:minefactory-reloaded-66672:2366150")
compileOnly("curse.maven:zelda-sword-skills-220540:2384889")
+6 -6
View File
@@ -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<E>, Map<K, V> 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.
+1 -1
View File
@@ -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;