diff --git a/gradle.properties b/gradle.properties index e1acb2b..4c9e995 100644 --- a/gradle.properties +++ b/gradle.properties @@ -39,34 +39,14 @@ remoteMappings = https\://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/co # `./gradlew runClient --username=AnotherPlayer`, or configuring this command in your IDE. developmentEnvironmentUserName = Developer -# Enables modern Java syntax support. Valid values: -# - false: No modern syntax, Java 8 only -# - jabel: Jabel syntax-only support, compiles to J8 bytecode -# - jvmDowngrader: Full modern Java via JVM Downgrader (syntax + stdlib APIs) -# - modern: Native modern Java bytecode, no downgrading -enableModernJavaSyntax = jabel +# 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 = true # If set, ignores the above setting and compiles with the given toolchain. This may cause unexpected issues, # and should *not* be used in most situations. -1 disables this. # forceToolchainVersion = -1 -# Target JVM version for JVM Downgrader bytecode downgrading. -# Only used when enableModernJavaSyntax = jvmDowngrader -# downgradeTargetVersion = 8 - -# Comma-separated list of Java versions for multi-release jar support (JVM Downgrader only). -# Classes will be available in META-INF/versions/N/ for each version N in this list. -# Default: "21,25" (J25+ gets native classes, J21-24 gets partial downgrade, J8-20 gets full downgrade). -# jvmDowngraderMultiReleaseVersions = 21,25 - -# Specifies how JVM Downgrader API stubs are provided. Options: -# - shade: Shade minimized stubs into the jar -# - gtnhlib: GTNHLib provides stubs at runtime (adds version constraint) -# - external: Another dependency provides stubs (no constraint, no warning) -# - (empty): Warning reminding you to configure stubs -# Note: 'shade' option requires you to verify license compliance, see: https://github.com/unimined/JvmDowngrader/blob/main/LICENSE.md -# jvmDowngraderStubsProvider = - # Enables injecting missing generics into the decompiled source code for a better coding experience. # Turns most publicly visible List, Map, etc. into proper List, Map types. enableGenericInjection = true diff --git a/settings.gradle b/settings.gradle index 32896c7..647b0d4 100644 --- a/settings.gradle +++ b/settings.gradle @@ -17,7 +17,7 @@ pluginManagement { } plugins { - id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.18' + id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.10' }