Davide Giuseppe Farella
10/19/2019, 5:02 AMCannot 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
calling inline functions from libs ( ktx
& various -ktx
).
What could have go wrong?
I have both:
android
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
&&
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
gildor
10/19/2019, 5:21 AMDavide Giuseppe Farella
10/19/2019, 5:22 AMbuildSrc
🙂
kotlinDslPluginOptions.jvmTarget.set("1.8")