Colton Idle
06/09/2021, 7:53 PM/androidApp
/commonCode
/commonMain
/desktopMain
/iosMain
/androidMain
/iosApp
/desktop
or
/androidApp
/commonComposables
/commonMain
/desktopMain
/androidMain
/commonCode
/commonMain
/desktopMain
/iosMain
/androidMain
/iosApp
/desktop
Basically would you just have a single common module and internally that somehow had both the shared networking code and shared composables (even no compose for ios ui) or just have two modules that are multiplatform modules. one for us and one for network?jim
06/09/2021, 7:57 PMjvmMain
which is a parent of both desktopMain
and androidMain
, so anything we want those two modules to share can be placed inside jvmMain
You can see it here: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/ui/ui/src/
I'm not suggesting this is necessarily better, just an option for your consideration.dependsOn
the other source set: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/ui/ui/build.gradle;l=162xxfast
06/11/2021, 5:11 AM:android
:common
/commonMain
/desktopMain
/androidMain
:ui
/commonMain
/desktopMain
/androidMain