Skip to content

Commit 9fba287

Browse files
committed
Update OkHttp MockWebServer dependency
- Update `okhttp3-mockwebserver` to use `mockwebserver3` - Add exclusion for `META-INF/versions/*/OSGI-INF/MANIFEST.MF` in packaging resources
1 parent 62dae51 commit 9fba287

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ junit = { module = "junit:junit", version.ref = "junit" }
3737
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
3838
mockk-android = { module = "io.mockk:mockk-android", version.ref = "mockk" }
3939
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
40-
okhttp3-mockwebserver = { module = "com.squareup.okhttp3:mockwebserver", version.ref = "okhttp" }
40+
okhttp3-mockwebserver = { module = "com.squareup.okhttp3:mockwebserver3", version.ref = "okhttp" }
4141

4242
[plugins]
4343
android-application = { id = "com.android.application", version.ref = "agp" }

lib/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ android {
6767
packaging {
6868
resources {
6969
excludes.add("META-INF/*.md")
70+
excludes.add("META-INF/versions/*/OSGI-INF/MANIFEST.MF")
7071
}
7172
}
7273

0 commit comments

Comments
 (0)