Reject com.nimbusds:nimbus-jose-jwt updates

Ensures consistency between nimbus-jose-jwt and oauth2-oidc-sdk

Issue gh-9542
This commit is contained in:
Rob Winch 2021-04-05 15:27:25 -05:00
parent 457435bfd0
commit 230c39e42a
1 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,12 @@ updateDependenciesSettings {
selection.reject("jython updates break integration tests");
}
}
components.withModule("com.nimbusds:nimbus-jose-jwt") { selection ->
ModuleComponentIdentifier candidate = selection.getCandidate();
if (!candidate.getVersion().equals(selection.getCurrentVersion())) {
selection.reject("nimbus-jose-jwt gets updated when oauth2-oidc-sdk is updated to ensure consistency");
}
}
}
}
}