@@ -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.
@@ -87,7 +111,9 @@ usesMixinDebug = false
87111# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
88112mixinPlugin =
89113
90- # Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
114+ # Specify the package that contains all of your Mixins. The package must exist or
115+ # the build will fail. If you have a package property defined in your mixins.<modid>.json,
116+ # it must match with this or the build will fail.
91117mixinsPackage =
92118
93119# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
@@ -142,7 +168,7 @@ modrinthProjectId = modernmarkings
142168# type can be one of [project, version],
143169# and the name is the Modrinth project or version slug/id of the other mod.
144170# Example: required-project:fplib;optional-project:gasstation;incompatible-project:gregtech
145- # Note: GTNH Mixins is automatically set as a required dependency if usesMixins = true
171+ # Note: UniMixins is automatically set as a required dependency if usesMixins = true.
146172modrinthRelations =
147173
148174# Publishing to CurseForge requires you to set the CURSEFORGE_TOKEN environment variable to one of your CurseForge API tokens.
@@ -163,6 +189,12 @@ curseForgeRelations =
163189# projects. New projects should not use this parameter.
164190# customArchiveBaseName =
165191
192+ # Optional parameter to customize the default working directory used by the runClient* tasks. Relative to the project directory.
193+ # runClientWorkingDirectory = run/client
194+
195+ # Optional parameter to customize the default working directory used by the runServer* tasks. Relative to the project directory.
196+ # runServerWorkingDirectory = run/server
197+
166198# Optional parameter to have the build automatically fail if an illegal version is used.
167199# This can be useful if you e.g. only want to allow versions in the form of '1.1.xxx'.
168200# The check is ONLY performed if the version is a git tag.
@@ -192,3 +224,6 @@ versionPattern = \\d+\\.\\d+\\.\\d+-1\\.7\\.10(-pre|-snapshot)?
192224# This is meant to be set in $HOME/.gradle/gradle.properties.
193225# ideaCheckSpotlessOnBuild = true
194226
227+ # Non-GTNH properties
228+ org.gradle.configuration-cache = true
229+ org.gradle.parallel = true
0 commit comments