Reject org.opensaml updates

There are two versions of org.opensaml that are supported, so we need
to manually update opensaml dependencies.

Issue gh-9542
This commit is contained in:
Rob Winch 2021-04-05 21:56:30 -05:00
parent 9b94e616c8
commit 38a230e5f3
1 changed files with 8 additions and 0 deletions

View File

@ -64,6 +64,14 @@ updateDependenciesSettings {
selection.reject("nimbus-jose-jwt gets updated when oauth2-oidc-sdk is updated to ensure consistency");
}
}
components.all { selection ->
ModuleComponentIdentifier candidate = selection.getCandidate();
// Do not compare version due to multiple versions existing
// will cause opensaml 3.x to be updated to 4.x
if (candidate.getGroup().equals("org.opensaml")) {
selection.reject("org.opensaml maintains two different versions, so it must be updated manually");
}
}
}
}
}