Is there a secret trick to make JVM modules see MPP modules as dependencies in multi-module projects in IntelliJ ?
implementation(project(":path:to:module"))
does work and compiles but IntelliJ doesn’t see it, it’s a bug in the Kotlin plugin maybe?
m
mbonnin
03/26/2021, 2:16 PM
We have that working in apollo-android: https://github.com/apollographql/apollo-android
We do have a special setup to remove the Android Gradle plugin from the buildscript classhpath though
Well your setup looks vastly different from what I have
m
mbonnin
03/29/2021, 1:53 PM
Yeaa, that stuff is fragile...
mbonnin
03/29/2021, 1:54 PM
I've spent some time to make it work now I'm afraid to touch anything 😅
r
ribesg
03/29/2021, 2:45 PM
Same… I still have to understand what KMM is and why/how/if I should “migrate” to it somehow or if it’s a marketing term… Didn’t really look at it in fear of having to change everything 😅