Quellcode durchsuchen

Exclude mockk 1.13.4 update

Issue gh-12695
Steve Riesenberg vor 2 Jahren
Ursprung
Commit
aaa6983fda
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  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