KharMa
05/29/2024, 8:44 AMTóth István Zoltán
05/29/2024, 11:01 AMcommonMain
is enough and there is no need for dependencies.
You need targets, those are quite straightforward.
commonMain
is compiled to all targets you specify. So if you have all the targets you listed you'll get a library for all those. You will need to add the android library plugin.KharMa
05/29/2024, 5:04 PMTóth István Zoltán
05/30/2024, 3:22 AMcomposeApp
, keep things separated from the shared code.
If you just want a server and some libraries you can drop composeApp
, server
and iosApp
and put everything into shared
. You can even promote shared
into a main project without a surrounding outer project.
It is really worth to check out the multiplatform documentation about how the directories are organized.