ソースを参照

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