I'm trying to add Kodein version 7.22.0 to a KMP project. I started the project with Android Studio KMP plugin template, with JVM 1.8 version and Gradle 8.5. However, when trying to build the project with gradle, I'm seeing a Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option error in the log. If I switch to version 7.21.2 everything works correctly.
I'm trying to add Kodein version 7.22.0 to a KMP project. I started the project with Android Studio KMP plugin template, with JVM 1.8 version and Gradle 8.5. However, when trying to build the project with gradle, I'm seeing a
Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option
error in the log. If I switch to version 7.21.2 everything works correctly.The JDK version that it is used is 17.0.1.