Add OkHttp logging interceptor

This commit is contained in:
Kirill Kamakin
2021-11-07 12:26:43 +03:00
parent 3ce822e373
commit 9afc7bdcd3
3 changed files with 28 additions and 2 deletions

View File

@@ -61,6 +61,10 @@ dependencies {
implementation "com.squareup.retrofit2:retrofit:2.9.0"
implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0"
def okhttp_version = "4.9.2"
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp_version"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0"
implementation "androidx.preference:preference-ktx:1.1.1"