Update OkHttp to latest version

This commit is contained in:
cketti 2019-11-19 15:02:42 +01:00
parent 2d4364a6ff
commit 7a4bc94dc5
2 changed files with 2 additions and 4 deletions

View file

@ -15,7 +15,7 @@ class ThunderbirdAutoconfigFetcher(private val okHttpClient: OkHttpClient) {
val response = okHttpClient.newCall(request).execute()
return if (response.isSuccessful) {
response.body()?.byteStream()
response.body?.byteStream()
} else {
null
}

View file

@ -25,9 +25,7 @@ buildscript {
'koin': '0.9.1',
'commonsIo': '2.4',
'mime4j': '0.8.1',
// Note: Only use 3.12.x versions until we raise minSdkVersion to 21
'okhttp': '3.12.1',
'okhttp': '4.2.1',
'androidxTestRunner': '1.1.1',
'junit': '4.12',