Переглянути джерело

Exclude mockk 1.13.4 update

Issue gh-12695
Steve Riesenberg 2 роки тому
батько
коміт
aaa6983fda
1 змінених файлів з 6 додано та 0 видалено
  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