diff --git a/build-logic/project/src/main/kotlin/wwm.kotlin.multiplatform.gradle.kts b/build-logic/project/src/main/kotlin/wwm.kotlin.multiplatform.gradle.kts index 67e9d5a..d1948b0 100644 --- a/build-logic/project/src/main/kotlin/wwm.kotlin.multiplatform.gradle.kts +++ b/build-logic/project/src/main/kotlin/wwm.kotlin.multiplatform.gradle.kts @@ -1,7 +1,7 @@ import me.omico.gradle.project.PROJECT_JAVA_VERSION import me.omico.gradle.project.createSourcePackageDirectories import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi -import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl +import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl plugins { kotlin("multiplatform") @@ -31,7 +31,7 @@ kotlin { withJs() withWasmJs() } - group("jvm") { + group("jvmCommon") { withAndroidTarget() withJvm() } diff --git a/wwm/core/ui/foundation/build.gradle.kts b/wwm/core/ui/foundation/build.gradle.kts index bb9fcce..0ce7fcf 100644 --- a/wwm/core/ui/foundation/build.gradle.kts +++ b/wwm/core/ui/foundation/build.gradle.kts @@ -21,7 +21,7 @@ kotlin { } } - jvmMain { + jvmCommonMain { dependencies { api(compose.preview) }