diff options
author | Harsh Shandilya <msfjarvis@gmail.com> | 2019-03-15 18:34:05 +0530 |
---|---|---|
committer | Harsh Shandilya <msfjarvis@gmail.com> | 2019-03-15 18:34:22 +0530 |
commit | 59ac91ebbc9f1d63c0377890902cc5c12f0af4c6 (patch) | |
tree | 6e5395151b1192a800296d707ff7532a3c5b99bc /build.gradle.kts | |
parent | cb47792ae6a1d6033b1cac7164b3e5527610882c (diff) |
Blacklist known broken upgrades
As I noted in #489, there are various compelling reasons
to not update these packages so let's hide the noise altogether.
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'build.gradle.kts')
-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") } |