From 1d141cf324d9bc015668397fdd682b47283a25af Mon Sep 17 00:00:00 2001 From: Omico Date: Fri, 6 Sep 2024 23:05:19 -0700 Subject: [PATCH] Update JVM common source set --- .../src/main/kotlin/wwm.kotlin.multiplatform.gradle.kts | 4 ++-- wwm/core/ui/foundation/build.gradle.kts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) }