mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 03:37:05 +05:30
build-logic: configure VCU to not purge library declarations
This commit is contained in:
parent
058d485257
commit
f74d3ce1b4
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,13 @@ plugins {
|
|||
id("nl.littlerobots.version-catalog-update")
|
||||
}
|
||||
|
||||
versionCatalogUpdate {
|
||||
keep {
|
||||
// This clears out build-logic specific dependencies
|
||||
keepUnusedLibraries.set(true)
|
||||
}
|
||||
}
|
||||
|
||||
fun isNonStable(version: String): Boolean {
|
||||
val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { version.toUpperCase().contains(it) }
|
||||
val regex = "^[0-9,.v-]+(-r)?$".toRegex()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue