Network library changes (#542)
- Allows for http2 - Caches a global instance of kotlinx-serialization `Json` and configures it with a bit more leniency. - Moves okhttp's dependency strings to the .toml file - Switches off logging for release builds
This commit is contained in:
parent
7308428596
commit
1d6f4e3c68
5 changed files with 35 additions and 40 deletions
|
|
@ -216,7 +216,8 @@ dependencies {
|
|||
implementation(libs.coil)
|
||||
|
||||
implementation(platform(libs.network.okhttp.bom))
|
||||
implementation("com.squareup.okhttp3:logging-interceptor")
|
||||
implementation(libs.network.okhttp.logging)
|
||||
implementation(libs.serialization.json)
|
||||
|
||||
implementation(libs.dagger)
|
||||
kapt(libs.dagger.compiler)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue