hi all, i’m going to start a multiplatform project...
# multiplatform
a
hi all, i’m going to start a multiplatform project. Targeting Android and Desktop now, ios shortly after. Is https://kotlinlang.org/docs/kmm-setup.html up to date?
m
KMM is Kotlin Multiplatform Mobile so it won't cover Desktop
You should be able to add Desktop as a separate Gradle module after the fact though
a
Aha is there any guide for that @mbonnin?
m
Not really sure. How do you want to do your UI on Desktop ?
a
compose
m
You could can use Compose on Desktop + Android https://www.jetbrains.com/lp/compose-mpp/
For iOS you'll most likely need something else. THere have been prototypes of Compose on iOS but it's ssuuuuuppeeer early at that point
a
ios is not a near term plan for us @mbonnin we’re targeting desktop and android for now
use the Tablet view for desktop
m
I'd download the latest IntelliJ EAP and use the wizzard from there. IIRC it has an option for Compose Desktop
a
I’m using Android Studio, I guess that works too
m
Maybe but that's not always the case
a
By IntelliJ EAP do you mean the CE or Ultimate edition @mbonnin?
m
both should work
a
BTW KMM plugin is not available on both CE and Ultimate for me. I could only install it on Android Studio..
m
I think there is a KMP plugin for intelij, that is different from me KMM one.
c
I would start with the samples in the compose-jb library. There are multiple Android + Desktop examples using compose
👀 1