Skip to content

Commit f431ebe

Browse files
committed
Exclude com.google.crypto.tink to fix a compilation issue
1 parent 77a3826 commit f431ebe

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

libraries/pushproviders/unifiedpush/build.gradle.kts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,13 @@ dependencies {
4242
implementation(libs.serialization.json)
4343

4444
// UnifiedPush library
45-
implementation(libs.unifiedpush)
45+
implementation(libs.unifiedpush) {
46+
// Exclude package com.google.crypto.tink
47+
// Duplicate classes between
48+
// tink-1.16.0.jar -> tink-1.16.0 (com.google.crypto.tink:tink:1.16.0)
49+
// tink-android-1.8.0.jar tink-android-1.8.0 (com.google.crypto.tink:tink-android:1.8.0)
50+
exclude(group = "com.google.crypto.tink", module = "tink")
51+
}
4652

4753
testImplementation(libs.coroutines.test)
4854
testImplementation(libs.test.junit)

0 commit comments

Comments
 (0)