Use okhttp-bom artifact
This commit is contained in:
parent
90d6a13275
commit
b9a45cfb4b
2 changed files with 6 additions and 5 deletions
|
@ -47,6 +47,7 @@ allprojects {
|
|||
dependencies {
|
||||
implementation "org.slf4j:slf4j-api:$slf4j"
|
||||
testImplementation "org.slf4j:slf4j-simple:$slf4j"
|
||||
implementation platform("com.squareup.okhttp3:okhttp-bom:$okhttp3")
|
||||
}
|
||||
|
||||
java {
|
||||
|
@ -130,10 +131,10 @@ subprojects {
|
|||
dependencies {
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines"
|
||||
|
||||
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp3"
|
||||
implementation "com.squareup.okhttp3:logging-interceptor"
|
||||
|
||||
testImplementation "junit:junit:4.13.2"
|
||||
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp3"
|
||||
testImplementation "com.squareup.okhttp3:mockwebserver"
|
||||
testImplementation "com.squareup.retrofit2:retrofit-mock:$retrofit"
|
||||
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines"
|
||||
}
|
||||
|
@ -159,5 +160,5 @@ dependencies {
|
|||
compile project(":sdk-mobile")
|
||||
compile project(":sdk-scrapper")
|
||||
|
||||
compile "com.squareup.okhttp3:okhttp:$okhttp3"
|
||||
compile "com.squareup.okhttp3:okhttp"
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ dependencies {
|
|||
implementation "pl.droidsonroids:jspoon:$jspoon"
|
||||
implementation "org.jsoup:jsoup:$jsoup"
|
||||
|
||||
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp3"
|
||||
testImplementation "com.squareup.okhttp3:mockwebserver"
|
||||
implementation "com.squareup.retrofit2:retrofit:$retrofit"
|
||||
implementation "com.squareup.retrofit2:converter-moshi:$retrofit"
|
||||
implementation "com.squareup.retrofit2:converter-scalars:$retrofit"
|
||||
|
@ -18,5 +18,5 @@ dependencies {
|
|||
implementation "com.squareup.moshi:moshi-adapters:$moshi"
|
||||
kapt "com.squareup.moshi:moshi-kotlin-codegen:$moshi"
|
||||
|
||||
implementation "com.squareup.okhttp3:okhttp-urlconnection:$okhttp3"
|
||||
implementation "com.squareup.okhttp3:okhttp-urlconnection"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue