@@ -39,14 +39,34 @@ 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
4548
4649# If set, ignores the above setting and compiles with the given toolchain. This may cause unexpected issues,
4750# and should *not* be used in most situations. -1 disables this.
4851# forceToolchainVersion = -1
4952
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 =
69+
5070# Enables injecting missing generics into the decompiled source code for a better coding experience.
5171# Turns most publicly visible List, Map, etc. into proper List<E>, Map<K, V> types.
5272enableGenericInjection = true
0 commit comments