aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-05-01 17:03:58 +0530
committerHarsh Shandilya <msfjarvis@gmail.com>2019-05-01 17:03:58 +0530
commit127a8b8c8a10d9c93bfc7e91e94b4bcb252eddeb (patch)
treee456726b25eb37dfbad4efeac51eda049440237d /build.gradle.kts
parenta832a60c11f36f637e989b9b3c8fa9c19be6a4ab (diff)
Update mockito and fix dependency updates task
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts2
1 files changed, 1 insertions, 1 deletions
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")
}