From 412e4f765ecf9eff854f489a100f68b5c5899a90 Mon Sep 17 00:00:00 2001 From: "dima.avdeev" <99798741+dima-avdeev-jb@users.noreply.github.com> Date: Mon, 27 Jun 2022 13:10:56 +0300 Subject: [PATCH] hotfix Issue 2113 missing coroutines-core in JS (#2142) --- experimental/examples/minesweeper/README.md | 3 +++ experimental/examples/minesweeper/build.gradle.kts | 3 +++ 2 files changed, 6 insertions(+) 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") } }