hallvard
10/07/2018, 3:35 PMassertThrows
in my tests, and this causes a jvm1.6/jvm1.8 clash/mismatch ...hallvard
10/07/2018, 3:37 PMCannot 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?hallvard
10/07/2018, 3:56 PMjvmTarget
is said to be the keyword (still). But I can't find out where to put it! Argh!hallvard
10/07/2018, 4:12 PMtasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
kotlinOptions.jvmTarget = 1.8
}