Skip to content

Commit 063f12a

Browse files
authored
Revert sourcesets config to produce same modules as before (#2431)
1 parent 606823f commit 063f12a

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

sentry-compose/build.gradle.kts

+2-11
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ kotlin {
2121
android {
2222
publishLibraryVariants("release")
2323
}
24-
jvm() {
24+
jvm("desktop") {
2525
compilations.all {
2626
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
2727
}
@@ -42,21 +42,12 @@ kotlin {
4242
api(compose.ui)
4343

4444
implementation(Config.Libs.kotlinStdLib)
45-
}
46-
}
47-
48-
val jvmMain by getting {
49-
dependencies {
50-
api(projects.sentry)
51-
implementation(Config.Libs.kotlinStdLib)
5245
api(projects.sentryComposeHelper)
5346
}
5447
}
55-
5648
val androidMain by getting {
57-
dependsOn(jvmMain)
58-
5949
dependencies {
50+
api(projects.sentry)
6051
api(projects.sentryAndroidNavigation)
6152

6253
api(Config.Libs.composeNavigation)

0 commit comments

Comments
 (0)