Skip to content

Commit 52f048d

Browse files
committed
Add the compose.desktop.currentOs dependency and solve the problem that the project doesn't build
> Cannot access class 'androidx.compose.ui.graphics.vector.ImageVector'. Check your module classpath for missing or conflicting dependencies I first tried adding the `material-icons-extended`/`material-icons-extended-desktop` dependency, but it didn't solve the problem.
1 parent cb10017 commit 52f048d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

demo/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@ kotlin {
1212
implementation(project(":compose-multiplatform-material"))
1313
}
1414
}
15+
named("jvmMain") {
16+
dependencies {
17+
implementation(compose.desktop.currentOs)
18+
}
19+
}
1520
}
1621
}

0 commit comments

Comments
 (0)