mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
update deps + enable modern & generic injection
This commit is contained in:
1 parent
fe3e0afa21
commit
d9e95924cd
3 files changed
+8
-8
No files matched your search
+1
-1
@@ -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")
|
||||
|
||||
+6
-6
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user