testing to see if Java 14 CI fixes anything

This commit is contained in:
Anuken
2020-06-13 10:54:47 -04:00
parent f76b349d3f
commit 0869db6eb6
2 changed files with 1 additions and 4 deletions
@@ -60,6 +60,7 @@ public class Selement<T extends Element>{
} }
public <A extends Annotation> A annotation(Class<A> annotation){ public <A extends Annotation> A annotation(Class<A> annotation){
if(true) return e.getAnnotation(annotation);
try{ try{
Method m = com.sun.tools.javac.code.AnnoConstruct.class.getDeclaredMethod("getAttribute", Class.class); Method m = com.sun.tools.javac.code.AnnoConstruct.class.getDeclaredMethod("getAttribute", Class.class);
m.setAccessible(true); m.setAccessible(true);
-4
View File
@@ -1,7 +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"]}")
}
include 'desktop', 'core', 'server', 'ios', 'annotations', 'tools', 'tests' include 'desktop', 'core', 'server', 'ios', 'annotations', 'tools', 'tests'
def use = { ... names -> def use = { ... names ->