in jvm module. It doesn’t see the class from shared module 🤔
r
russhwolf
10/19/2019, 11:51 PM
Does it build from command-line gradle? There’s a couple spots where the IDE gets confused when mixing Android and JVM.
d
darkmoon_uk
10/21/2019, 12:30 AM
@russhwolf is right; currently Gradle/MPP toolchain has trouble with mixing JVM and Android targets; particularly if you start throwing Android/JVM project module dependencies into the mix. If you are in this situation you need to use a build attribute to disambiguate the platform dependencies between the projects. Example here: https://git.chrishatton.org/chris/kotlin-multiplatform-template