fix(deps): update okhttp monorepo to v5.0.0-alpha.14 (#18, mihonapp/mihon#688)

* fix(deps): update okhttp monorepo to v5.0.0-alpha.14

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 1edd55c981aa72faf49c06173f33bf0c2f99fe60)
This commit is contained in:
renovate[bot] 2024-06-07 04:26:25 +06:00 committed by Cuong M. Tran
parent 4e5436f526
commit b7062738ea
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
3 changed files with 4 additions and 3 deletions

View file

@ -26,7 +26,6 @@ import okhttp3.CacheControl
import okhttp3.Call
import okhttp3.Request
import okhttp3.Response
import okhttp3.internal.http.HTTP_NOT_MODIFIED
import okio.BufferedSource
import okio.FileSystem
import okio.Path.Companion.toOkioPath
@ -396,5 +395,7 @@ class MangaCoverFetcher(
private val CACHE_CONTROL_NO_STORE = CacheControl.Builder().noStore().build()
private val CACHE_CONTROL_NO_NETWORK_NO_CACHE = CacheControl.Builder().noCache().onlyIfCached().build()
private const val HTTP_NOT_MODIFIED = 304
}
}

View file

@ -18,7 +18,6 @@ import okhttp3.CacheControl
import okhttp3.Call
import okhttp3.Request
import okhttp3.Response
import okhttp3.internal.http.HTTP_NOT_MODIFIED
import okio.FileSystem
import okio.Path.Companion.toOkioPath
import okio.Source
@ -27,6 +26,7 @@ import tachiyomi.domain.source.service.SourceManager
import uy.kohesive.injekt.injectLazy
import java.io.File
import java.io.IOException
import java.net.HttpURLConnection.HTTP_NOT_MODIFIED
/**
* A [Fetcher] that fetches page preview image for [PagePreview] object.

View file

@ -2,7 +2,7 @@
aboutlib_version = "11.2.1"
leakcanary = "2.14"
moko = "0.23.0"
okhttp_version = "5.0.0-alpha.12"
okhttp_version = "5.0.0-alpha.14"
richtext = "0.20.0"
shizuku_version = "12.2.0"
sqldelight = "2.0.2"