Force gradle to Java 8 until internal issues are resolved

This commit is contained in:
Johann Bernhardt committed 2021-11-29 14:01:52 +01:00
1 parent 735b91692d
commit ffe7b130f9
1 file changed
+4
+4
View File
@@ -62,6 +62,10 @@ idea {
}
}
if(JavaVersion.current() != JavaVersion.VERSION_1_8) {
throw new GradleException("This project requires Java 8, but it's running on " + JavaVersion.current())
}
checkPropertyExists("modName")
checkPropertyExists("modId")
checkPropertyExists("modGroup")