Browse Source

hotfix Issue 2113 missing coroutines-core in JS (#2142)

pull/2151/head v1.2.0-alpha01-dev729
dima.avdeev 3 years ago committed by GitHub
parent
commit
412e4f765e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      experimental/examples/minesweeper/README.md
  2. 3
      experimental/examples/minesweeper/build.gradle.kts

3
experimental/examples/minesweeper/README.md

@ -5,6 +5,9 @@ A simple game powered by Compose Multiplatform
## Run native on MacOS ## Run native on MacOS
`./gradlew runDebugExecutableMacosX64` (Works on Intel processors) `./gradlew runDebugExecutableMacosX64` (Works on Intel processors)
## Run web assembly in browser
`./gradlew jsBrowserDevelopmentRun`
## Run on iOS simulator ## Run on iOS simulator
`./gradlew iosDeployIPhone8Debug` `./gradlew iosDeployIPhone8Debug`
`./gradlew iosDeployIPadDebug` `./gradlew iosDeployIPadDebug`

3
experimental/examples/minesweeper/build.gradle.kts

@ -88,6 +88,9 @@ kotlin {
implementation(compose.foundation) implementation(compose.foundation)
implementation(compose.material) implementation(compose.material)
implementation(compose.runtime) 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")
} }
} }

Loading…
Cancel
Save