kosi-libs / Kodein

Painless Kotlin Dependency Injection
https://kosi-libs.org/kodein
MIT License
3.19k stars 174 forks source link

KMP compatibility with version 7.22.0 #456

Open oscarorozco-omron opened 2 months ago

oscarorozco-omron commented 2 months ago

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.

Screenshot 2024-07-17 at 1 00 51 PM Screenshot 2024-07-17 at 1 03 44 PM