From 127a8b8c8a10d9c93bfc7e91e94b4bcb252eddeb Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 1 May 2019 17:03:58 +0530 Subject: Update mockito and fix dependency updates task Signed-off-by: Harsh Shandilya --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index 70964e6a..21ea2d4a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -31,7 +31,7 @@ tasks { val blacklistedGroups = listOf("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) && blacklistedGroups.contains(candidate.group) } + .any { it.matches(candidate.version) || blacklistedGroups.contains(candidate.group) } if (rejected) { reject("Release candidate") } -- cgit v1.2.3