feat: upgrade to OkHttp 4.10.0

This commit is contained in:
Harsh Shandilya 2023-03-07 12:44:34 +05:30
parent 8392841554
commit cb798cf011
No known key found for this signature in database
7 changed files with 10 additions and 15 deletions

View file

@ -22,13 +22,7 @@ class DependencyUpdatesPlugin : Plugin<Project> {
project.pluginManager.apply(VersionsPlugin::class)
project.pluginManager.apply(VersionCatalogUpdatePlugin::class)
project.tasks.withType<DependencyUpdatesTask>().configureEach {
rejectVersionIf {
when (candidate.group) {
"com.squareup.okhttp3",
"org.jetbrains.kotlin" -> true
else -> isNonStable(candidate.version) && !isNonStable(currentVersion)
}
}
rejectVersionIf { isNonStable(candidate.version) && !isNonStable(currentVersion) }
checkConstraints = true
checkBuildEnvironmentConstraints = true
checkForGradleUpdate = true