Skip to content

Commit 8aeddaf

Browse files
committed
Update
1 parent 4984d35 commit 8aeddaf

File tree

1 file changed

+2
-2
lines changed
  • sentry-kotlin-multiplatform-gradle-plugin/src/main/java/io/sentry/kotlin/multiplatform/gradle

1 file changed

+2
-2
lines changed

sentry-kotlin-multiplatform-gradle-plugin/src/main/java/io/sentry/kotlin/multiplatform/gradle/SentryPlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,14 @@ internal fun Project.installSentryForKmp(
149149
return
150150
}
151151

152-
val unsupportedTargets = listOf("wasm", "js", "mingw", "linux", "androidNative")
152+
val unsupportedTargets = listOf("androidNative")
153153
kmpExtension.targets.forEach { target ->
154154
if (unsupportedTargets.any { unsupported -> target.name.contains(unsupported) }) {
155155
throw GradleException(
156156
"Unsupported target: ${target.name}. " +
157157
"Cannot auto install in commonMain. " +
158158
"Please create an intermediate sourceSet with targets that the Sentry SDK " +
159-
"supports (apple, jvm, android) and add the dependency manually."
159+
"supports and add the dependency manually."
160160
)
161161
}
162162
}

0 commit comments

Comments
 (0)