diff options
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 2 |
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") } |