From aaa6983fda98b3ec47b76ffdb28292ccdf095438 Mon Sep 17 00:00:00 2001 From: Steve Riesenberg Date: Fri, 17 Feb 2023 11:41:24 -0600 Subject: [PATCH] Exclude mockk 1.13.4 update Issue gh-12695 --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle b/build.gradle index 71e3e7b028..0c5ed096a0 100644 --- a/build.gradle +++ b/build.gradle @@ -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