Revert "Set the core to use Java version Ω"

This reverts commit c4a9e7a2a7.
This commit is contained in:
James Seibel
2024-05-21 07:45:25 -05:00
parent 80d9b4540b
commit ff6a5aae69
+4 -7
View File
@@ -630,17 +630,14 @@ allprojects { p ->
tasks.withType(JavaCompile) {
if (isMinecraftSubProject) {
options.release = rootProject.java_version as Integer // Neoforge complains without this
options.release = rootProject.java_version as Integer
options.compilerArgs += ["-Xplugin:Manifold"]
} else {
options.release = 8; // Core & Api should use Java 8 no matter what
//options.release = rootProject.java_version as Integer // But if you want to test some stuff, then this can be enabled
}
options.encoding = "UTF-8"
}
// Sets the project's actual Java version (it's recommended to use this over the `options.release` method above)
java {
sourceCompatibility = rootProject.java_version
targetCompatibility = rootProject.java_version
}
java {
withSourcesJar()