Skip to content

Commit 9a3ce41

Browse files
committed
Exclude okhttp3-tls from dependency analysis
This dependency is required to prevent a `NoClassDefFoundError` during the card reader connection flow.
1 parent cccd4ed commit 9a3ce41

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

libs/fluxc/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,12 @@ tasks.withType(KotlinCompile).configureEach {
123123
dependencyAnalysis {
124124
issues {
125125
onUnusedDependencies {
126-
// This dependency is actually needed otherwise the app will crash with a runtime exception.
126+
// This dependency is actually needed; otherwise, the app will crash with a runtime exception.
127127
exclude(libs.eventbus.android.get().module.toString())
128-
// This dependency is actually needed otherwise UI tests will crash with a runtime exception.
128+
// This dependency is actually needed; otherwise, UI tests will crash with a runtime exception.
129129
exclude(libs.apache.http.client.android.get().module.toString())
130+
// This dependency is actually needed; otherwise, NoClassDefFoundError will be thrown during card reader connection flow.
131+
exclude(libs.squareup.okhttp3.tls.get().module.toString())
130132
}
131133
}
132134
}

0 commit comments

Comments
 (0)