Explorar o código

Reject commons-codec updates

Issue gh-9542
Rob Winch %!s(int64=4) %!d(string=hai) anos
pai
achega
0ec20cfd3b
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      build.gradle

+ 8 - 0
build.gradle

@@ -45,6 +45,14 @@ updateDependenciesSettings {
 		releaseCandidatesVersions()
 		milestoneVersions()
 		snapshotVersions()
+		addRule { components ->
+			components.withModule("commons-codec:commons-codec") { selection ->
+				ModuleComponentIdentifier candidate = selection.getCandidate();
+				if (!candidate.getVersion().equals(selection.getCurrentVersion())) {
+					selection.reject("commons-codec updates break saml tests");
+				}
+			}
+		}
 	}
 }