IDEA shows an error marker on calling public defender methods, e.g. on Stream.concat():
"Calls to static methods in Java interfaces are prohibited in JVM target 1.6. Recompile with '-jvm-target 1.8".
As indicated by #422, I have
kotlinCompiler {
args("-jvm-target", "1.8")
}
set in build.kt. My project compiles from Kobalt CLI without issue.
The error marker persists after explicitly refreshing the Kobalt project in IDEA.
Versions:
Kobalt: 1.0.114
IDEA: IntelliJ IDEA 2018.1.3 (Ultimate Edition) Build #IU-181.4892.42, built on May 8, 2018
JRE: 1.8.0_152-release-1136-b38 x86_64
IDEA shows an error marker on calling public defender methods, e.g. on
Stream.concat()
: "Calls to static methods in Java interfaces are prohibited in JVM target 1.6. Recompile with '-jvm-target 1.8".As indicated by #422, I have
set in build.kt. My project compiles from Kobalt CLI without issue.
The error marker persists after explicitly refreshing the Kobalt project in IDEA.
Versions: