Update okhttp and retrofit

This commit is contained in:
Mikołaj Pich 2023-05-02 00:03:32 +02:00
parent 0a1268e5af
commit b040618458
3 changed files with 5 additions and 3 deletions

View file

@ -12,7 +12,7 @@ dependencies {
implementation libs.retrofit.core
implementation libs.retrofit.scalars
implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0"
implementation libs.retrofit.serialization
testImplementation "io.mockk:mockk-jvm:1.13.4"
}

View file

@ -12,7 +12,7 @@ dependencies {
implementation libs.retrofit.core
implementation libs.retrofit.scalars
implementation "pl.droidsonroids.retrofit2:converter-jspoon:$jspoon"
implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0"
implementation libs.retrofit.serialization
implementation "com.brsanthu:migbase64:2.2"

View file

@ -11,6 +11,7 @@ dependencyResolutionManagement {
version('kotlin', kotlin)
version('coroutines', '1.6.4')
version('retrofit', '2.9.0')
version('retrofit-kotlinx-serialization', '1.0.0')
version('ksp', "${kotlin}-1.0.10")
plugin('kotlin', 'org.jetbrains.kotlin.jvm').versionRef('kotlin')
@ -25,8 +26,9 @@ dependencyResolutionManagement {
library('retrofit-scalars', 'com.squareup.retrofit2', 'converter-scalars').versionRef('retrofit')
library('retrofit-moshi', 'com.squareup.retrofit2', 'converter-moshi').versionRef('retrofit')
library('retrofit-mock', 'com.squareup.retrofit2', 'retrofit-mock').versionRef('retrofit')
library('retrofit-serialization', 'com.jakewharton.retrofit', 'retrofit2-kotlinx-serialization-converter').versionRef('retrofit-kotlinx-serialization')
library('okhttp-bom', 'com.squareup.okhttp3:okhttp-bom:4.10.0')
library('okhttp-bom', 'com.squareup.okhttp3:okhttp-bom:4.11.0')
}
}
}