diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e4b9cd3dc4..9a38f544c17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,8 @@ - Ensure frame metrics listeners are registered/unregistered on the main thread ([#4582](https://github.com/getsentry/sentry-java/pull/4582)) - Do not report cached events as lost ([#4575](https://github.com/getsentry/sentry-java/pull/4575)) - Previously events were recorded as lost early despite being retried later through the cache +- Switch to compileOnly dependency for compose-ui-material ([#4630](https://github.com/getsentry/sentry-java/pull/4630)) + - This fixes `StackOverflowError` when using OSS Licenses plugin ### Dependencies diff --git a/sentry-compose/build.gradle.kts b/sentry-compose/build.gradle.kts index 9624bd018b9..7d0da428a21 100644 --- a/sentry-compose/build.gradle.kts +++ b/sentry-compose/build.gradle.kts @@ -43,8 +43,8 @@ kotlin { dependencies { api(projects.sentry) api(projects.sentryAndroidNavigation) - implementation(libs.androidx.compose.material3) + compileOnly(libs.androidx.compose.material3) compileOnly(libs.androidx.navigation.compose) implementation(libs.androidx.lifecycle.common.java8) }