Skip to content

Commit

Permalink
Revert sourcesets config to produce same modules as before (#2431)
Browse files Browse the repository at this point in the history
  • Loading branch information
markushi committed Dec 16, 2022
1 parent 606823f commit 063f12a
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions sentry-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kotlin {
android {
publishLibraryVariants("release")
}
jvm() {
jvm("desktop") {
compilations.all {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
}
Expand All @@ -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)
Expand Down

0 comments on commit 063f12a

Please sign in to comment.