Hi all,
I am creating multiplatform library which has three targets Android, JVM and JS.
My library has common Kotlin code and platform specific code.
Currently most platform specific code for JVM and Android is done on Java and I do not have time to migrate it to Kotlin now.
How to add support of Java classes for jvmMain and androidMain source sets?
When I add withJava() option into build.gradle it writes me an error that Java plugin is not compatible with Android plugin. And this is true, because I have Android source set with Android plugin and withJava() adds java plugin inside.
Is there any alternative way to add Java classes into AAR and JAR builds? Now Idea ignores java classes if i put them into kotlin directory.