https://kotlinlang.org logo
f

Franco

09/12/2020, 8:08 AM
Hi, I updated from Kotlin 1.3.72 to 1.4.10 and when trying to use my multiplatform library (imported as a module) on a JVM module I get the following error:
Copy code
Ignoring dependency of module <MPP Lib> on module <JVM Module>. Java modules cannot depend on Android modules
Any idea why this would happen? It seems like the JVM module is trying to import the Android target of the multiplatform library instead of the JVM one.
This issue appears as a warning when trying to sync Gradle from IntelliJ, but building from the console works fine
l

louiscad

09/13/2020, 8:12 AM
This IDE error is safe to ignore.
f

Franco

09/13/2020, 9:08 AM
Thanks for letting me know @louiscad 🙂