Przeglądaj źródła

Reject commons-codec updates

Issue gh-9542
Rob Winch 4 lat temu
rodzic
commit
0ec20cfd3b
1 zmienionych plików z 8 dodań i 0 usunięć
  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");
+				}
+			}
+		}
 	}
 }