From 063f12a828d9d4a3b68bf0dd5db7f3ece7b28c71 Mon Sep 17 00:00:00 2001 From: Markus Hintersteiner Date: Fri, 16 Dec 2022 09:46:18 +0100 Subject: [PATCH] Revert sourcesets config to produce same modules as before (#2431) --- sentry-compose/build.gradle.kts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/sentry-compose/build.gradle.kts b/sentry-compose/build.gradle.kts index d347191c27..aae846513e 100644 --- a/sentry-compose/build.gradle.kts +++ b/sentry-compose/build.gradle.kts @@ -21,7 +21,7 @@ kotlin { android { publishLibraryVariants("release") } - jvm() { + jvm("desktop") { compilations.all { kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString() } @@ -42,21 +42,12 @@ kotlin { api(compose.ui) implementation(Config.Libs.kotlinStdLib) - } - } - - val jvmMain by getting { - dependencies { - api(projects.sentry) - implementation(Config.Libs.kotlinStdLib) api(projects.sentryComposeHelper) } } - val androidMain by getting { - dependsOn(jvmMain) - dependencies { + api(projects.sentry) api(projects.sentryAndroidNavigation) api(Config.Libs.composeNavigation)