Parcourir la source

Exclude Kotlin RC and M releases

Josh Cummings il y a 4 ans
Parent
commit
b206670245
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8 0
      build.gradle

+ 8 - 0
build.gradle

@@ -87,6 +87,14 @@ updateDependenciesSettings {
 				if (candidate.getGroup().equals("org.opensaml")) {
 					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")
+					}
+				}
 			}
 		}
 	}