@@ -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.
4040developmentEnvironmentUserName = 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.
97121mixinPlugin =
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.
100126mixinsPackage =
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
0 commit comments