Hello everyone? I used the online wizard to create...
# multiplatform
m
Hello everyone? I used the online wizard to create my first multiplatform project on IntelliJ, but I'm a bit confused about these two directories in my screenshot. I can see dependencies and business logic goes under "shared" but what goes under "composeApp"? thank you!
r
As stated in the docs (https://www.jetbrains.com/help/kotlin-multiplatform-dev/multiplatform-create-first-app.html#examine-the-project-structure): • composeApp is a Kotlin module that builds into an Android application. It uses Gradle as the build system. The composeApp module depends on and uses the shared module as a regular Android library.
🙌 2
d
that is interesting, when I make a project (android, ios, and desktop) it does not have a shared, it only has a composeApp, iosApp, and then there is a commonMain in the composeApp where I think the shared stuff goes. Do you get the shared when you also build web and server?
r
When I create a new App using the Android Studio wizard, I get a separate folder for shared. But if I use Kotlin Multiplatform Wizard, I don't get the "shared" folder when "Share UI" is selected. I didn't work with server nor web projects yet.