Temporary (?) workaround for Preview
@ -15,6 +15,10 @@ repositories {
}
dependencies {
// Note, if you develop a library, you should use compose.desktop.common.
// compose.desktop.currentOs should be used in launcher-sourceSet
// (in a separate module for demo project and in testMain).
// With compose.desktop.common you will also lose @Preview functionality
implementation(compose.desktop.currentOs)
@ -20,7 +20,11 @@ kotlin {
named("desktopMain") {
api(compose.uiTooling)
api(compose.desktop.currentOs)
named("androidMain") {
@ -13,7 +13,6 @@ kotlin {
sourceSets {
named("jvmMain") {
implementation(project(":common"))