hallvard
10/30/2018, 10:06 AMorangy
hallvard
10/30/2018, 10:21 AMhallvard
10/30/2018, 10:27 AMCannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6.
Didn't find the solution when googling simply for gradle set jvm target
and the like (instead I found a lot of solutions that might have worked at some point, but no longer do). Finally googling for the given error message led me to the right stackoverflowpost.h0tk3y
10/30/2018, 10:50 AMkotlin {
targets {
fromPreset(presets.jvm, 'jvm8') {
compilations.all {
tasks[compileKotlinTaskName].kotlinOptions {
jvmTarget = '1.8'
}
}
}
}
}
hallvard
10/30/2018, 11:17 AM