testing to see if Java 14 CI fixes anything
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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 ->
|
||||||
|
|||||||
Reference in New Issue
Block a user