build-logic: allow Accompanist and Gradle updates

This commit is contained in:
Harsh Shandilya 2022-08-05 20:57:50 +05:30
parent 67e2e298b7
commit 862eea463d
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -19,13 +19,12 @@ class DependencyUpdatesPlugin : Plugin<Project> {
project.tasks.withType<DependencyUpdatesTask>().configureEach {
rejectVersionIf {
when (candidate.group) {
"com.google.accompanist",
"com.squareup.okhttp3",
"org.jetbrains.kotlin" -> true
else -> isNonStable(candidate.version) && !isNonStable(currentVersion)
}
}
checkForGradleUpdate = false
checkForGradleUpdate = true
}
project.extensions.getByType<VersionCatalogUpdateExtension>().run {
keep.keepUnusedLibraries.set(true)