File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
sentry/src/main/java/io/sentry Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,9 @@ kotlin {
3838 sourceSets {
3939 val commonMain by getting {
4040 dependencies {
41- api (compose.runtime)
42- api (compose.ui)
41+ compileOnly (compose.runtime)
42+ compileOnly (compose.ui)
4343
44- implementation(Config .Libs .kotlinStdLib)
4544 api(projects.sentryComposeHelper)
4645 }
4746 }
@@ -50,7 +49,7 @@ kotlin {
5049 api(projects.sentry)
5150 api(projects.sentryAndroidNavigation)
5251
53- api (Config .Libs .composeNavigation)
52+ compileOnly (Config .Libs .composeNavigation)
5453 implementation(Config .Libs .lifecycleCommonJava8)
5554 }
5655 }
@@ -59,6 +58,7 @@ kotlin {
5958 implementation(Config .TestLibs .kotlinTestJunit)
6059 implementation(Config .TestLibs .mockitoKotlin)
6160 implementation(Config .TestLibs .mockitoInline)
61+ implementation(Config .Libs .composeNavigation)
6262 }
6363 }
6464 }
Original file line number Diff line number Diff line change 44-keep class io.sentry.compose.gestures.ComposeGestureTargetLocator { <init>(...); }
55-keepnames interface androidx.compose.ui.node.Owner
66
7+ # R8 will warn about missing classes if people don't have androidx.compose-navigation on their
8+ # classpath, but this is fine, these classes are used in an internal class which is only used when
9+ # someone is using withSentryObservableEffect extension function (which, in turn, cannot be used
10+ # without having androidx.compose-navigation on the classpath)
11+ -dontwarn androidx.navigation.NavController$OnDestinationChangedListener
12+ -dontwarn androidx.navigation.NavController
13+
714# To ensure that stack traces is unambiguous
815# https://developer.android.com/studio/build/shrink-code#decode-stack-trace
916-keepattributes LineNumberTable,SourceFile
Original file line number Diff line number Diff line change @@ -1660,7 +1660,7 @@ public void setProfilesSampler(final @Nullable ProfilesSamplerCallback profilesS
16601660
16611661 /**
16621662 * Sets the profilesSampleRate. Can be anything between 0.0 and 1.0 or null (default), to disable
1663- * it. It’ s dependent on the {{@link SentryOptions#setTracesSampleRate(Double)} } If a transaction
1663+ * it. It' s dependent on the {{@link SentryOptions#setTracesSampleRate(Double)} } If a transaction
16641664 * is sampled, then a profile could be sampled with a probability given by profilesSampleRate.
16651665 *
16661666 * @param profilesSampleRate the sample rate
You can’t perform that action at this time.
0 commit comments