diff --git a/experimental/examples/minesweeper/README.md b/experimental/examples/minesweeper/README.md index 0807d51dc4..94504bdf43 100644 --- a/experimental/examples/minesweeper/README.md +++ b/experimental/examples/minesweeper/README.md @@ -5,6 +5,9 @@ A simple game powered by Compose Multiplatform ## Run native on MacOS `./gradlew runDebugExecutableMacosX64` (Works on Intel processors) +## Run web assembly in browser +`./gradlew jsBrowserDevelopmentRun` + ## Run on iOS simulator `./gradlew iosDeployIPhone8Debug` `./gradlew iosDeployIPadDebug` diff --git a/experimental/examples/minesweeper/build.gradle.kts b/experimental/examples/minesweeper/build.gradle.kts index a3daf5604d..2c216cb93b 100644 --- a/experimental/examples/minesweeper/build.gradle.kts +++ b/experimental/examples/minesweeper/build.gradle.kts @@ -88,6 +88,9 @@ kotlin { implementation(compose.foundation) implementation(compose.material) implementation(compose.runtime) + + //TODO hotfix of issue https://github.com/JetBrains/compose-jb/issues/2113 + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1") } }