From e09dd4fef7787bb784867042a4241257d47c3899 Mon Sep 17 00:00:00 2001 From: FongMi Date: Fri, 12 Jan 2024 13:55:37 +0800 Subject: [PATCH] Update build.gradle --- app/build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 0b3a38a1d..12d9999b8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -73,6 +73,12 @@ android { } } + configurations.configureEach { + resolutionStrategy { + force 'com.squareup.okhttp3:okhttp:' + okhttpVersion + } + } + lint { disable 'UnsafeOptInUsageError' } @@ -116,7 +122,7 @@ dependencies { implementation 'com.github.bumptech.glide:okhttp3-integration:4.16.0' implementation 'com.github.jahirfiquitiva:TextDrawable:1.0.3' implementation('com.github.TeamNewPipe:NewPipeExtractor:v0.23.1') { exclude group: 'org.jsoup', module: 'jsoup' } - implementation('com.github.thegrizzlylabs:sardine-android:0.8') { exclude group: 'com.squareup.okhttp3', module: 'okhttp' } + implementation 'com.github.thegrizzlylabs:sardine-android:0.8' implementation 'com.google.android.material:material:1.11.0' implementation 'com.google.net.cronet:cronet-okhttp:0.1.0' implementation 'com.google.zxing:core:3.3.0'