I am using Xtend in intellij from the Xtend-plugin. My project language level is set to Java 8 and Xtend compiles fine to Java 8 (e.g. using lambda expressions).
For specific reasons, I need Xtend to generate Java 7 code, without changing the language level of my remaining project (Java 8).
In the Xtend project settings I can set the language level, however this option is ignored. I believe it is ignored because the remaining project still uses JDK 8 and the Java 8 language level.
Is there an option to force Xtend to use a different (lower) language level than the source?