From 0ec20cfd3bb1372e67d3dad54523a2027cd9e4a9 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 5 Apr 2021 15:05:58 -0500 Subject: [PATCH] Reject commons-codec updates Issue gh-9542 --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index b69bfe2749..3d0f044633 100644 --- a/build.gradle +++ b/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"); + } + } + } } }