Hi,
when updating an from Gradle plugin version 0.3.6 to 0.2.4 I get a compile error in Eclipse if compiled with JDK 7.
The Gradle build output is:
But the build task succeeds successfully.
After that, however, the compilation in Eclipse shows up errors at Xtend generated Java code for Java 8 imports. Here is an example
import java.util.function.Consumer;
The error is "The import can not be resolved".
I assume, the Gradle build is running with JDK 8 letting Xtend generate Java 8 code. However, my Eclipse project is compiling against JDK 7.
Is there any way to tell the Gradle plugin letting Xtend generate Java 5/6/7 code?
Regards, Denis
P.S.
my Xtend dependencies resolves to Xtend 2.7.3:
dependencies {
compile 'org.eclipse.xtend:org.eclipse.xtend.lib:2.7.+'
...
}