Garrison Henkle
04/06/2024, 9:58 PMdarwinMain group with actual implementations in iosMain, macosMain, etc. The IDE couldn’t find the expect declaration, so I’m assuming this is not supported at the moment . Moving my expect declaration to commonMain with no-op implementations in the other source sets was an easy fix, but it’d be a nice quality of life feature (esp. on Apple platforms where I see this a lot).Garrison Henkle
04/06/2024, 10:44 PMkotlin.sourceSets block 🤦:
iosMain.dependsOn(darwinMain)
macosMain.dependsOn(darwinMain)
I’m using a custom hierarchy in my project so I can add a jvmMain that contains both androidMain and desktopMain (jvm target for Compose Multiplatform), so you have to link the sets together as part of the custom. hierarchy process. think I could have done this without a completely custom hierarchy, but honestly it works and that’s good enough for me 🤷 . I’ll explore modifying the default hierarchy the next time I have a free night.