Add a Gradle property to override the runtime java compat version. (#1178)

This commit is contained in:
modmuss
2024-09-26 19:03:53 +01:00
committed by GitHub
parent 5b44b25066
commit bc9ce581e4
2 changed files with 19 additions and 1 deletions

View File

@@ -134,6 +134,11 @@ public class Constants {
public static final String LIBRARY_PROCESSORS = "fabric.loom.libraryProcessors";
@ApiStatus.Experimental
public static final String SANDBOX = "fabric.loom.experimental.sandbox";
/**
* When set the version of java that will be assumed that the game will run on, this defaults to the current java version.
* Only set this when you have a good reason to do so, the default should be fine for almost all cases.
*/
public static final String RUNTIME_JAVA_COMPATIBILITY_VERSION = "fabric.loom.runtimeJavaCompatibilityVersion";
}
public static final class Manifest {