1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-23 06:42:24 +03:00

Adopt Version Catalog and Updates plugin (#7075)

This commit is contained in:
Yuri Schimke
2022-02-15 23:38:32 +00:00
committed by GitHub
parent edcaa9fade
commit 362f53546d
27 changed files with 306 additions and 254 deletions

View File

@@ -36,18 +36,18 @@ android {
dependencies {
val okhttpLegacyVersion = "3.12.12"
implementation(Dependencies.kotlinReflect)
implementation(Dependencies.playServicesSafetynet)
implementation(libs.kotlin.reflect)
implementation(libs.playservices.safetynet)
implementation("com.squareup.okhttp3:okhttp:${okhttpLegacyVersion}")
implementation("com.squareup.okhttp3:okhttp-tls:${okhttpLegacyVersion}") {
exclude("org.bouncycastle")
}
androidTestImplementation("com.squareup.okhttp3:mockwebserver:${okhttpLegacyVersion}")
androidTestImplementation(Dependencies.bouncycastle)
androidTestImplementation(Dependencies.bouncycastletls)
androidTestImplementation(Dependencies.androidxExtJunit)
androidTestImplementation(Dependencies.androidxEspressoCore)
androidTestImplementation(Dependencies.httpclient5)
androidTestImplementation(Dependencies.moshi)
androidTestImplementation(Dependencies.moshiKotlin)
androidTestImplementation(libs.bouncycastle.bcprov)
androidTestImplementation(libs.bouncycastle.bctls)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.httpcomponents.httpclient5)
androidTestImplementation(libs.squareup.moshi)
androidTestImplementation(libs.squareup.moshi.kotlin)
}