cfleming
03/18/2019, 1:53 AMcompileKotlin
task seems to be different to the one used by Gradle itself. It’s somehow related to the version of the gradle-intellij-plugin I’m using to build an IntelliJ plugin - currently I use 0.3.10 of the plugin and everything in my build script should be set to use Java 8 to compile. However when I upgrade to 0.5.0-SNAPSHOT of the plugin because I need to test my plugin against the new Java 11 JBSDK, I start getting compile errors like:
> Task :compileKotlin FAILED
e: /Users/colin/dev/cursive/src/main/kotlin/cursive/debugger/Fragment.kt: (95, 25): Cannot access class 'com.sun.jdi.StringReference'. Check your module classpath for missing or conflicting dependencies
indicating that my Kotlin code is being compiled with some 9+ JDK.DALDEI
03/21/2019, 8:25 PMcfleming
03/22/2019, 1:53 AM