diff options
-rw-r--r-- | build.gradle.kts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 5e039f4d..a82668b8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -28,9 +28,10 @@ tasks.named<DependencyUpdatesTask>("dependencyUpdates") { resolutionStrategy { componentSelection { all { + val blacklistedGroups = listOf("com.nononsenseapps", "commons-io", "org.eclipse.jgit") val rejected = listOf("alpha", "beta", "rc", "cr", "m", "preview") .map { qualifier -> Regex("(?i).*[.-]$qualifier[.\\d-]*") } - .any { it.matches(candidate.version) } + .any { it.matches(candidate.version) && blacklistedGroups.contains(candidate.group) } if (rejected) { reject("Release candidate") } |