소스 검색

Reject commons-codec updates

Issue gh-9542
Rob Winch 4 년 전
부모
커밋
0ec20cfd3b
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  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");
+				}
+			}
+		}
 	}
 }