Rodrigo Silva
11/07/2022, 2:09 PMCannot inline bytecode built with JVM target 17 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option
my config
tasks {
test { useJUnitPlatform() }
compileKotlin { kotlinOptions.jvmTarget = "17" }
...
}
What am I doing wrong?ephemient
11/07/2022, 2:23 PMcompileKotlin
, they're compiled by compileTestKotlin
ephemient
11/07/2022, 2:24 PMkotlin.target.compilations.all {
kotlinOptions.jvmTarget = "17"
}
insteadRodrigo Silva
11/07/2022, 2:24 PMephemient
11/07/2022, 2:24 PM