Skip to content

Commit 7f16a2c

Browse files
authored
fix(compose): Switch to compileOnly dependency for compose-ui-material (#4630)
* fix(compose): Switch to compileOnly dependency for compose-ui-material * Changelog
1 parent 4d4e343 commit 7f16a2c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
- Ensure frame metrics listeners are registered/unregistered on the main thread ([#4582](https://github.com/getsentry/sentry-java/pull/4582))
2929
- Do not report cached events as lost ([#4575](https://github.com/getsentry/sentry-java/pull/4575))
3030
- Previously events were recorded as lost early despite being retried later through the cache
31+
- Switch to compileOnly dependency for compose-ui-material ([#4630](https://github.com/getsentry/sentry-java/pull/4630))
32+
- This fixes `StackOverflowError` when using OSS Licenses plugin
3133

3234
### Dependencies
3335

sentry-compose/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ kotlin {
4343
dependencies {
4444
api(projects.sentry)
4545
api(projects.sentryAndroidNavigation)
46-
implementation(libs.androidx.compose.material3)
4746

47+
compileOnly(libs.androidx.compose.material3)
4848
compileOnly(libs.androidx.navigation.compose)
4949
implementation(libs.androidx.lifecycle.common.java8)
5050
}

0 commit comments

Comments
 (0)