diff --git a/composeApp/build.gradle.kts b/composeApp/build.gradle.kts index 9524ab2d..fe5f3975 100644 --- a/composeApp/build.gradle.kts +++ b/composeApp/build.gradle.kts @@ -82,9 +82,6 @@ kotlin { val desktopMain by getting androidMain.dependencies { - implementation(compose.preview) - implementation(compose.uiTooling) - implementation(libs.androidx.activity.compose) } commonMain.dependencies { @@ -98,12 +95,15 @@ kotlin { } desktopMain.dependencies { implementation(compose.desktop.currentOs) - implementation(compose.preview) - implementation(compose.uiTooling) } } } +dependencies { + implementation(compose.preview) + debugImplementation(compose.uiTooling) +} + android { namespace = pkgName compileSdk = libs.versions.android.compileSdk.get().toInt()