diff --git a/repositories.bzl b/repositories.bzl index f4c60d411..e55ccecd4 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -172,10 +172,6 @@ def _non_module_deps(_): sha256 = bazel_sha256, strip_prefix = "bazel-" + bazel_version, url = "https://github.com/bazelbuild/bazel/archive/" + bazel_version + ".zip", - patch_args = ["-p1"], - patches = [ - "//third_party/bazel:bazel.patch", - ], ) # LICENSE: The Apache Software License, Version 2.0 diff --git a/third_party/bazel/bazel.patch b/third_party/bazel/bazel.patch deleted file mode 100644 index 9ad790ca2..000000000 --- a/third_party/bazel/bazel.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/third_party/BUILD b/third_party/BUILD -index 262577182a..6300c8f25a 100644 ---- a/third_party/BUILD -+++ b/third_party/BUILD -@@ -353,15 +353,13 @@ filegroup( - # TODO(https://github.com/bazelbuild/bazel/issues/18214): After fixing Guava leak - # in test-runner, the guava target can be reverted back to java_library --java_import( -+java_library( - name = "guava", - applicable_licenses = [":guava_license"], -- jars = [ -- "@maven//:com_google_guava_guava_file", -- "@maven//:com_google_guava_failureaccess_file", -- ], - exports = [ - ":error_prone_annotations", - ":jcip_annotations", - ":jsr305", -+ "@maven//:com_google_guava_failureaccess", -+ "@maven//:com_google_guava_guava", - ], - )