Skip to content

Commit b206670

Browse files
committed
Exclude Kotlin RC and M releases
1 parent b067aa4 commit b206670

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ updateDependenciesSettings {
8787
if (candidate.getGroup().equals("org.opensaml")) {
8888
selection.reject("org.opensaml maintains two different versions, so it must be updated manually");
8989
}
90+
if (candidate.getGroup().equals("org.jetbrains.kotlin")) {
91+
if (candidate.getVersion().endsWith("-RC")) {
92+
selection.reject("On a maintenance branch, we should not take RC versions")
93+
}
94+
if (candidate.getVersion().contains("-M")) {
95+
selection.reject("On a maintenance branch, we should not take milestone versions")
96+
}
97+
}
9098
}
9199
}
92100
}

0 commit comments

Comments
 (0)