Open garretyoder opened 12 months ago
Hello, thank you for submitting the issue!
Since Kotlin/JS 1.9.0 you need to explicitly specify the dependencies in your build.gradle.kts
file.
Like this:
val jsMain by getting {
dependencies {
implementation(project(":shared"))
implementation(compose.ui)
... // other required imports here.
}
}
We'll update our examples with that, thanks for noticing.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Describe the bug For seemingly all of the example projects (I've tested falling-balls, minesweeper) the build fails due to failed dependency resolution. androidx. and org.jetbrains. cannot be resolved. Other targets build fine, and I cannot see anything wrong in the build file.
Affected platforms
Versions
To Reproduce
Expected behavior Import should work and project should run as it does on all other configurations
Additional context I have made no modifications to the example project, only tried to build it.