Exclude mockk 1.13.4 update

Issue gh-12695
This commit is contained in:
Steve Riesenberg 2023-02-17 11:41:24 -06:00
parent a1b282ff03
commit aaa6983fda
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521

View File

@ -119,6 +119,12 @@ updateDependenciesSettings {
selection.reject("nimbus-jose-jwt gets updated when oauth2-oidc-sdk is updated to ensure consistency");
}
}
components.withModule("io.mockk:mockk") { selection ->
ModuleComponentIdentifier candidate = selection.getCandidate();
if (!candidate.getVersion().equals(selection.getCurrentVersion())) {
selection.reject("mockk updates break tests");
}
}
components.all { selection ->
ModuleComponentIdentifier candidate = selection.getCandidate();
// Do not compare version due to multiple versions existing