What's the current state of composite builds for K...
# multiplatform
e
What's the current state of composite builds for KMP projects with Kotlin 1.8.22? I'm using Android Studio Hedgehog; does that IDE support it (it's based on 2023.1.1)?
v
You should be able to use it since 1.8.20 IIRC. This flag is needed:
Copy code
kotlin.mpp.import.enableKgpDependencyResolution=true
And it might still not work if your included build has a custom
rootProject.name
. To go around it, see this comment I've been using it fine with IntelliJ 2023.2 EAP and Hedgehog Canary 6~10. I was suffering with this unrelated issue on IntelliJ 2023.1 and older Android Studio versions, so I can't say about pure IntelliJ 2023.1, as I've skipped it to the 2023.2 EAP.