Open rparree opened 10 years ago
+1 here. SBT console doesn't respect scalacOptions and javacOptions in sbt.build file. If I run sbt in a terminal, the output version is correct. But if I run via SBT console inside IDEA, it always output as Java 8.
Still an issue. I've been trying to target JDK11 as Oracle's greed has meant only JDK11 or 8 are available via apt. So building a debian package with dependancies I only have 2 choices for target but the SBT plugin still ignores any version settings. I've set the project, every module, and the compiler settings in build.sbt but I can only get JDK11 target output by building in a shell.
I am running idea with Java 8, but would like my project to use Java 7. I can't figure out how to do that. Changing the project to use JDK 7 does not work as it has to restart and then reimports the sbt project and sets all back to 1.8. (#147 is related)