hallvard
10/07/2018, 3:35 PMassertThrows
in my tests, and this causes a jvm1.6/jvm1.8 clash/mismatch ...Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
. Is there a nice keyword to set this in the gradle build file?jvmTarget
is said to be the keyword (still). But I can't find out where to put it! Argh!tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
kotlinOptions.jvmTarget = 1.8
}