[KMPWithJavaDiagnostic | WARNING] 'org.jetbrains.kotlin.multiplatform' plugin 'withJava()' configuration deprecation.
Kotlin multiplatform plugin always configures Java sources compilation and 'withJava()' configuration is deprecated.
Please remove 'withJava()' method call from build configuration.
----
[JvmWithJavaIsIncompatibleWithAndroid | FATAL] `withJava()` in JVM Target Incompatible with Android Plugins
'withJava()' is not compatible with Android Plugins
Incompatible Android Plugin applied: 'com.android.library'

kotlin {
    jvm {
        withJava() /* <- cannot be used when the Android Plugin is present */
    }
}
Please remove the 'withJava()' call from the JVM target configuration.