I have a pure java project, and it includes a jvm.jar that export by a KMP project, when I use some classes defined in the jvm.jar, the project will crash, the error message is “java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics” ...
I guess there maybe need kotlin runtime, so I add this in KMP project’s gradle:
tasks._withType_<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
* *kotlinOptions {
* *includeRuntime = true
noStdlib = false
}
}
but it not work,
Is there anyone who could give some advice?