
This is a Kotlin Multiplatform project targeting Android, iOS, Web, Desktop (JVM).
/iosApp contains an iOS application. Even if you’re sharing your UI with Compose Multiplatform, you need this entry point for your iOS app. This is also where you should add SwiftUI code for your project.
/shared is for code that will be shared across your Compose Multiplatform applications. It contains several subfolders:
Use the run configurations provided by the run widget in your IDE's toolbar. You can also use these commands and options:
./gradlew :androidApp:assembleDebug
./gradlew :desktopApp:hotRun --auto
./gradlew :desktopApp:run
./gradlew :webApp:wasmJsBrowserDevelopmentRun
./gradlew :webApp:jsBrowserDevelopmentRun
Use the run button in your IDE's editor gutter, or run tests using Gradle tasks:
./gradlew :shared:testAndroidHostTest
./gradlew :shared:jvmTest
./gradlew :shared:wasmJsTest
./gradlew :shared:jsTest
./gradlew :shared:iosSimulatorArm64Test
Learn more about Kotlin Multiplatform, Compose Multiplatform, Kotlin/Wasm…
We would appreciate your feedback on Compose/Web and Kotlin/Wasm in the public Slack channel #compose-web. If you face any issues, please report them on YouTrack.
This is a Kotlin Multiplatform project targeting Android, iOS, Web, Desktop (JVM).
/iosApp contains an iOS application. Even if you’re sharing your UI with Compose Multiplatform, you need this entry point for your iOS app. This is also where you should add SwiftUI code for your project.
/shared is for code that will be shared across your Compose Multiplatform applications. It contains several subfolders:
Use the run configurations provided by the run widget in your IDE's toolbar. You can also use these commands and options:
./gradlew :androidApp:assembleDebug
./gradlew :desktopApp:hotRun --auto
./gradlew :desktopApp:run
./gradlew :webApp:wasmJsBrowserDevelopmentRun
./gradlew :webApp:jsBrowserDevelopmentRun
Use the run button in your IDE's editor gutter, or run tests using Gradle tasks:
./gradlew :shared:testAndroidHostTest
./gradlew :shared:jvmTest
./gradlew :shared:wasmJsTest
./gradlew :shared:jsTest
./gradlew :shared:iosSimulatorArm64Test
Learn more about Kotlin Multiplatform, Compose Multiplatform, Kotlin/Wasm…
We would appreciate your feedback on Compose/Web and Kotlin/Wasm in the public Slack channel #compose-web. If you face any issues, please report them on YouTrack.