Support for compiling on Java 14

This commit is contained in:
Anuken
2020-06-14 11:10:54 -04:00
parent b4573861a8
commit 1823bc8f15
42 changed files with 1731 additions and 1771 deletions

View File

@@ -1,8 +1,3 @@
if(JavaVersion.current() != JavaVersion.VERSION_1_8){
throw new GradleException("!!! YOU MUST USE JAVA 8 TO COMPILE AND RUN MINDUSTRY !!! Read the README. Your version: ${System.properties["java.version"]}\n" +
"\nThe reason: Java has a compiler bug that requires a workaround. This workaround uses proprietary API and is only implemented on Java 8.")
}
include 'desktop', 'core', 'server', 'ios', 'annotations', 'tools', 'tests'
def use = { ... names ->