Skip to content

Commit d794abe

Browse files
committed
Add integrations
1 parent 5d8a3bd commit d794abe

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

sentry-android-integration-tests/test-app-size/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ configurations.configureEach {
4040
exclude(group = "androidx.lifecycle")
4141
}
4242

43+
dependencies {
44+
implementation(projects.sentryAndroidTimber)
45+
implementation(projects.sentryAndroidSqlite)
46+
implementation(projects.sentryOkhttp)
47+
implementation(projects.sentryCompose)
48+
implementation(projects.sentryAndroidFragment)
49+
}
50+
4351
sentry {
4452
org.set("sentry-sdks")
4553
projectName.set("sentry-android")

sentry-android-integration-tests/test-app-size/proguard-rules.pro

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Rules to not warn about missing classes for Kotlin stdlib. We use it, but we only want to measure the SDK size overhead, so we keep the test app lean
1+
# Rules to not warn about missing classes. We use them, but we only want to measure the SDK size overhead and not run the app, so we keep it lean
22
# This is generated automatically by the Android Gradle plugin.
33
-dontwarn kotlin.Lazy
44
-dontwarn kotlin.LazyKt
@@ -37,3 +37,15 @@
3737
-dontwarn kotlin.text.Charsets
3838
-dontwarn kotlin.text.Regex
3939
-dontwarn kotlin.text.StringsKt
40+
-dontwarn timber.log.Timber$Tree
41+
-dontwarn kotlin.Deprecated
42+
-dontwarn kotlin.Function
43+
-dontwarn kotlin.jvm.JvmStatic
44+
-dontwarn kotlin.jvm.functions.Function2
45+
-dontwarn kotlin.jvm.functions.Function3
46+
-dontwarn kotlin.jvm.internal.Ref$BooleanRef
47+
-dontwarn kotlin.math.MathKt
48+
-dontwarn okhttp3.EventListener
49+
-dontwarn okhttp3.Interceptor
50+
# Assume all classes are used to not strip them out, e.g. integrations like Compose or Sqlite
51+
-keep class io.sentry.**

0 commit comments

Comments
 (0)