Pārlūkot izejas kodu

Exclude mockk 1.13.4 update

Issue gh-12695
Steve Riesenberg 2 gadi atpakaļ
vecāks
revīzija
aaa6983fda
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 6 0
      build.gradle

+ 6 - 0
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