Bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6 [duplicate]
I am trying Jetpack compose in my project . Everything is working fine except I get this errorCannot 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 event though I have added below code in gradle file.
kotlinOptions {
jvmTarget = '1.8'
}
Below is my gradle file
android {
compileSdkVersion Configs.compileSdkVersion
....
....
compileOptions {
incremental true...