mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 19:57:04 +05:30
build-logic: allow Accompanist and Gradle updates
This commit is contained in:
parent
67e2e298b7
commit
862eea463d
1 changed files with 1 additions and 2 deletions
|
@ -19,13 +19,12 @@ class DependencyUpdatesPlugin : Plugin<Project> {
|
||||||
project.tasks.withType<DependencyUpdatesTask>().configureEach {
|
project.tasks.withType<DependencyUpdatesTask>().configureEach {
|
||||||
rejectVersionIf {
|
rejectVersionIf {
|
||||||
when (candidate.group) {
|
when (candidate.group) {
|
||||||
"com.google.accompanist",
|
|
||||||
"com.squareup.okhttp3",
|
"com.squareup.okhttp3",
|
||||||
"org.jetbrains.kotlin" -> true
|
"org.jetbrains.kotlin" -> true
|
||||||
else -> isNonStable(candidate.version) && !isNonStable(currentVersion)
|
else -> isNonStable(candidate.version) && !isNonStable(currentVersion)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
checkForGradleUpdate = false
|
checkForGradleUpdate = true
|
||||||
}
|
}
|
||||||
project.extensions.getByType<VersionCatalogUpdateExtension>().run {
|
project.extensions.getByType<VersionCatalogUpdateExtension>().run {
|
||||||
keep.keepUnusedLibraries.set(true)
|
keep.keepUnusedLibraries.set(true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue