Skip to content

Commit f615df5

Browse files
authored
compat with WailaPlugins own fluid handler (#217)
1 parent 73891d2 commit f615df5

File tree

13 files changed

+76
-21
lines changed

13 files changed

+76
-21
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ whitelist.json
2828
src/main/resources/mixins.*.json
2929
*.bat
3030
layout.json
31+
.DS_Store

dependencies.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ dependencies {
1010
shadowImplementation('cglib:cglib-nodep:3.3.0')
1111
api("com.github.GTNewHorizons:TinkersConstruct:1.14.6-GTNH:dev")
1212

13-
compileOnly('com.github.GTNewHorizons:waila:1.9.2:api') {transitive = false}
13+
devOnlyNonPublishable('com.github.GTNewHorizons:waila:1.9.15:dev') {transitive = false}
14+
runtimeOnlyNonPublishable('com.github.GTNewHorizons:WAILAPlugins:0.7.2:dev') {transitive = false}
1415
compileOnly('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-717-GTNH:api') {transitive = false}
1516
compileOnly('com.github.GTNewHorizons:Baubles-Expanded:2.2.1-GTNH:dev') {transitive = false}
1617
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.52.60:dev') {transitive = false}

gradle.properties

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,33 @@ remoteMappings = https\://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/co
3939
# `./gradlew runClient --username=AnotherPlayer`, or configuring this command in your IDE.
4040
developmentEnvironmentUserName = Developer
4141

42-
# Enables using modern Java syntax (up to version 17) via Jabel, while still targeting JVM 8.
43-
# See https://github.com/bsideup/jabel for details on how this works.
44-
enableModernJavaSyntax = true
42+
# Enables modern Java syntax support. Valid values:
43+
# - false: No modern syntax, Java 8 only
44+
# - jabel: Jabel syntax-only support, compiles to J8 bytecode
45+
# - jvmDowngrader: Full modern Java via JVM Downgrader (syntax + stdlib APIs)
46+
# - modern: Native modern Java bytecode, no downgrading
47+
enableModernJavaSyntax = jabel
48+
49+
# If set, ignores the above setting and compiles with the given toolchain. This may cause unexpected issues,
50+
# and should *not* be used in most situations. -1 disables this.
51+
# forceToolchainVersion = -1
52+
53+
# Target JVM version for JVM Downgrader bytecode downgrading.
54+
# Only used when enableModernJavaSyntax = jvmDowngrader
55+
# downgradeTargetVersion = 8
56+
57+
# Comma-separated list of Java versions for multi-release jar support (JVM Downgrader only).
58+
# Classes will be available in META-INF/versions/N/ for each version N in this list.
59+
# Default: "21,25" (J25+ gets native classes, J21-24 gets partial downgrade, J8-20 gets full downgrade).
60+
# jvmDowngraderMultiReleaseVersions = 21,25
61+
62+
# Specifies how JVM Downgrader API stubs are provided. Options:
63+
# - shade: Shade minimized stubs into the jar
64+
# - gtnhlib: GTNHLib provides stubs at runtime (adds version constraint)
65+
# - external: Another dependency provides stubs (no constraint, no warning)
66+
# - (empty): Warning reminding you to configure stubs
67+
# Note: 'shade' option requires you to verify license compliance, see: https://github.com/unimined/JvmDowngrader/blob/main/LICENSE.md
68+
# jvmDowngraderStubsProvider =
4569

4670
# Enables injecting missing generics into the decompiled source code for a better coding experience.
4771
# Turns most publicly visible List, Map, etc. into proper List<E>, Map<K, V> types.
@@ -96,7 +120,9 @@ usesMixinDebug = false
96120
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
97121
mixinPlugin =
98122

99-
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
123+
# Specify the package that contains all of your Mixins. The package must exist or
124+
# the build will fail. If you have a package property defined in your mixins.<modid>.json,
125+
# it must match with this or the build will fail.
100126
mixinsPackage =
101127

102128
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
@@ -172,6 +198,12 @@ curseForgeRelations =
172198
# projects. New projects should not use this parameter.
173199
# customArchiveBaseName =
174200

201+
# Optional parameter to customize the default working directory used by the runClient* tasks. Relative to the project directory.
202+
# runClientWorkingDirectory = run/client
203+
204+
# Optional parameter to customize the default working directory used by the runServer* tasks. Relative to the project directory.
205+
# runServerWorkingDirectory = run/server
206+
175207
# Optional parameter to have the build automatically fail if an illegal version is used.
176208
# This can be useful if you e.g. only want to allow versions in the form of '1.1.xxx'.
177209
# The check is ONLY performed if the version is a git tag.
@@ -201,3 +233,6 @@ curseForgeRelations =
201233
# This is meant to be set in $HOME/.gradle/gradle.properties.
202234
# ideaCheckSpotlessOnBuild = true
203235

236+
# Non-GTNH properties
237+
org.gradle.configuration-cache = true
238+
org.gradle.parallel = true
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#This file is generated by updateDaemonJvm
2+
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
3+
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
4+
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
5+
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
6+
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/46949723aaa20c7b64d7ecfed7207034/redirect
7+
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/d6690dfd71c4c91e08577437b5b2beb0/redirect
8+
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
9+
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
10+
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/3cd7045fca9a72cd9bc7d14a385e594c/redirect
11+
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/552c7bffe0370c66410a51c55985b511/redirect
12+
toolchainVersion=25

gradle/wrapper/gradle-wrapper.jar

1.88 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pluginManagement {
1717
}
1818

1919
plugins {
20-
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.44'
20+
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.12'
2121
}
2222

2323

src/main/java/crazypants/enderio/EnderIO.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ public class EnderIO {
214214
public static final boolean hasLwjgl3 = Loader.isModLoaded("lwjgl3ify");
215215
public static final boolean hasGT5 = Loader.isModLoaded("gregtech") && !Loader.isModLoaded("gregapi");
216216
public static final boolean hasHP = Loader.isModLoaded("hodgepodge");
217+
public static final boolean hasWailaPlugins = Loader.isModLoaded("wailaplugins");
217218

218219
// Materials
219220
public static ItemCapacitor itemBasicCapacitor;

0 commit comments

Comments
 (0)