Remove explicit java_tools version from WORKSPACE.oss
After Bazel 5.2.0 is released and contains the latest version of java_tools needed to address extracting app.jar in latest IntelliJ versions, we can set `minimum_bazel_version=5.2.0` and remove the explicit specification of the java_tools in WORKSPACE.oss.
@@ -378,7 +378,7 @@ http_archive(
# unexpressive errors when new features are used
load("@bazel_skylib//lib:versions.bzl", "versions")
-versions.check(minimum_bazel_version = "4.0.0")
+versions.check(minimum_bazel_version = "5.2.0")
http_archive(
name = "build_bazel_integration_testing",
@@ -414,45 +414,6 @@ bazel_external_dependency_archive(
},
)
-# Use the latest version of java_tools which contains a fix for the ijar multi-disk issue
-# Once this version is used by a Bazel release (it should be there in Bazel 5.2.0),
-# we should remove this import and set the minimum_bazel_version to 5.2.0
-http_archive(
- name = "remote_java_tools",
- sha256 = "2eede49b2d80135e0ea22180f63df26db2ed4b795c1c041b25cc653d6019fbec",
- urls = [
- "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools-v11.7.1.zip",
- "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools-v11.7.1.zip",
- ],
-)
-
-http_archive(
- name = "remote_java_tools_linux",
- sha256 = "f78077f0c043d0d13c82de0ee4a99753e66bb18ec46e3601fa2a10e7f26798a8",
- urls = [
- "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools_linux-v11.7.1.zip",
- "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools_linux-v11.7.1.zip",
- ],
-)
-
-http_archive(
- name = "remote_java_tools_windows",
- sha256 = "a7086734866505292ee4c206328c73c6af127e69bd51b98c9c186ae4b9b6d2db",
- urls = [
- "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools_windows-v11.7.1.zip",
- "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools_windows-v11.7.1.zip",
- ],
-)
-
-http_archive(
- name = "remote_java_tools_darwin",
- sha256 = "4d6d388b54ad3b9aa35b30dd67af8d71c4c240df8cfb5000bbec67bdd5c53a73",
- urls = [
- "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools_darwin-v11.7.1.zip",
- "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools_darwin-v11.7.1.zip",
- ],
-)
-
# LICENSE: The Apache Software License, Version 2.0
http_archive(
name = "rules_proto",
