Exclude Kotlin RC and M releases

This commit is contained in:
Josh Cummings 2021-08-16 09:59:59 -06:00
parent b067aa4653
commit b206670245
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443

View File

@ -87,6 +87,14 @@ updateDependenciesSettings {
if (candidate.getGroup().equals("org.opensaml")) { if (candidate.getGroup().equals("org.opensaml")) {
selection.reject("org.opensaml maintains two different versions, so it must be updated manually"); selection.reject("org.opensaml maintains two different versions, so it must be updated manually");
} }
if (candidate.getGroup().equals("org.jetbrains.kotlin")) {
if (candidate.getVersion().endsWith("-RC")) {
selection.reject("On a maintenance branch, we should not take RC versions")
}
if (candidate.getVersion().contains("-M")) {
selection.reject("On a maintenance branch, we should not take milestone versions")
}
}
} }
} }
} }