Closed DirosChen closed 1 month ago
on build.gradle.kts sourceSets { val desktopMain by getting
androidMain.dependencies { implementation(compose.preview) implementation(libs.androidx.activity.compose) } commonMain.dependencies { implementation(compose.runtime) implementation(compose.foundation) implementation(compose.material) implementation(compose.ui) implementation(compose.components.resources) implementation(compose.components.uiToolingPreview) implementation("io.github.irgaly.kfswatch:kfswatch:1.2.0") } desktopMain.dependencies { implementation(compose.desktop.currentOs) } }
not work in wasmjs :composeApp:wasmJsMain: Could not resolve io.github.irgaly.kfswatch:kfswatch:1.2.0. Required by: project :composeApp
@DirosChen
I just published kfswatch v1.3.0, this version supports Kotlin/Wasm (wasmJs - nodeJs target). Please check this one 😄
https://github.com/irgaly/kfswatch/releases/tag/v1.3.0
ok thanks
on build.gradle.kts sourceSets { val desktopMain by getting
not work in wasmjs :composeApp:wasmJsMain: Could not resolve io.github.irgaly.kfswatch:kfswatch:1.2.0. Required by: project :composeApp