From bf24053aa8bdc13a4c8a22c7e9c3509a4c41519a Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Wed, 30 Oct 2024 13:52:21 +0100 Subject: [PATCH] re-bump Signed-off-by: Pierre Fenoll --- .bazelversion | 2 +- Dockerfile | 2 +- resolved.bzl | 2576 +++++++++++++++---------------------------------- 3 files changed, 775 insertions(+), 1805 deletions(-) diff --git a/.bazelversion b/.bazelversion index 643916c..19b860c 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -7.3.1 +6.4.0 diff --git a/Dockerfile b/Dockerfile index eb60fda..9e92f78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ RUN \ --mount=type=cache,target=/root/.cache/bazel \ --mount=type=cache,target=/root/.cache/bazelisk \ set -ux \ - && curl -#fsSLo /bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.16.0/bazelisk-$BUILDOS-$BUILDARCH \ + && curl -#fsSLo /bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.22.1/bazelisk-$BUILDOS-$BUILDARCH \ && chmod +x /bazelisk \ && cd /usr/local/bin \ && ln -s /bazelisk bazel \ diff --git a/resolved.bzl b/resolved.bzl index be51742..fa4639f 100644 --- a/resolved.bzl +++ b/resolved.bzl @@ -1,103 +1,94 @@ resolved = [ { - "original_rule_class": "local_repository", + "original_rule_class": "bind", "original_attributes": { - "name": "bazel_tools", - "path": "/root/.cache/bazel/_bazel_root/install/ec66cb4ed623de0db7a7f89408b9b468/embedded_tools", + "name": "android/crosstool", + "actual": "@bazel_tools//tools/cpp:toolchain", }, - "native": "local_repository(name = \"bazel_tools\", path = __embedded_dir__ + \"/\" + \"embedded_tools\")", + "native": "bind(name = \"android/crosstool\", actual = \"@bazel_tools//tools/cpp:toolchain\")", }, { "original_rule_class": "bind", "original_attributes": { - "name": "cc_toolchain", - "actual": "@@local_config_cc//:toolchain", + "name": "android/d8_jar_import", + "actual": "@bazel_tools//tools/android:no_android_sdk_repository_error", }, - "native": "bind(name = \"cc_toolchain\", actual = \"@@local_config_cc//:toolchain\")", + "native": "bind(name = \"android/d8_jar_import\", actual = \"@bazel_tools//tools/android:no_android_sdk_repository_error\")", }, { "original_rule_class": "bind", "original_attributes": { - "name": "android/crosstool", - "actual": "@@bazel_tools//tools/cpp:toolchain", + "name": "android/dx_jar_import", + "actual": "@bazel_tools//tools/android:no_android_sdk_repository_error", }, - "native": "bind(name = \"android/crosstool\", actual = \"@@bazel_tools//tools/cpp:toolchain\")", + "native": "bind(name = \"android/dx_jar_import\", actual = \"@bazel_tools//tools/android:no_android_sdk_repository_error\")", }, { "original_rule_class": "bind", "original_attributes": { - "name": "android/d8_jar_import", - "actual": "@@bazel_tools//tools/android:no_android_sdk_repository_error", + "name": "android/sdk", + "actual": "@bazel_tools//tools/android:poison_pill_android_sdk", }, - "native": "bind(name = \"android/d8_jar_import\", actual = \"@@bazel_tools//tools/android:no_android_sdk_repository_error\")", + "native": "bind(name = \"android/sdk\", actual = \"@bazel_tools//tools/android:poison_pill_android_sdk\")", }, { "original_rule_class": "bind", "original_attributes": { - "name": "android/dx_jar_import", - "actual": "@@bazel_tools//tools/android:no_android_sdk_repository_error", + "name": "android_ndk_for_testing", + "actual": "@bazel_tools//tools/android:empty", }, - "native": "bind(name = \"android/dx_jar_import\", actual = \"@@bazel_tools//tools/android:no_android_sdk_repository_error\")", + "native": "bind(name = \"android_ndk_for_testing\", actual = \"@bazel_tools//tools/android:empty\")", }, { "original_rule_class": "bind", "original_attributes": { - "name": "android/sdk", - "actual": "@@bazel_tools//tools/android:poison_pill_android_sdk", + "name": "android_sdk_for_testing", + "actual": "@bazel_tools//tools/android:empty", }, - "native": "bind(name = \"android/sdk\", actual = \"@@bazel_tools//tools/android:poison_pill_android_sdk\")", + "native": "bind(name = \"android_sdk_for_testing\", actual = \"@bazel_tools//tools/android:empty\")", }, { - "original_rule_class": "bind", + "original_rule_class": "local_repository", "original_attributes": { - "name": "android_ndk_for_testing", - "actual": "@@bazel_tools//tools/android:empty", + "name": "bazel_tools", + "path": "/root/.cache/bazel/_bazel_root/install/117cee491f5c7d83be6e3c6d6b5b8ca4/embedded_tools", }, - "native": "bind(name = \"android_ndk_for_testing\", actual = \"@@bazel_tools//tools/android:empty\")", + "native": "local_repository(name = \"bazel_tools\", path = __embedded_dir__ + \"/\" + \"embedded_tools\")", }, { "original_rule_class": "bind", "original_attributes": { - "name": "android_sdk_for_testing", - "actual": "@@bazel_tools//tools/android:empty", + "name": "cc_toolchain", + "actual": "@local_config_cc//:toolchain", }, - "native": "bind(name = \"android_sdk_for_testing\", actual = \"@@bazel_tools//tools/android:empty\")", + "native": "bind(name = \"cc_toolchain\", actual = \"@local_config_cc//:toolchain\")", }, { "original_rule_class": "bind", "original_attributes": { "name": "databinding_annotation_processor", - "actual": "@@bazel_tools//tools/android:empty", + "actual": "@bazel_tools//tools/android:empty", }, - "native": "bind(name = \"databinding_annotation_processor\", actual = \"@@bazel_tools//tools/android:empty\")", + "native": "bind(name = \"databinding_annotation_processor\", actual = \"@bazel_tools//tools/android:empty\")", }, { "original_rule_class": "bind", "original_attributes": { "name": "has_androidsdk", - "actual": "@@bazel_tools//tools/android:always_false", + "actual": "@bazel_tools//tools/android:always_false", }, - "native": "bind(name = \"has_androidsdk\", actual = \"@@bazel_tools//tools/android:always_false\")", + "native": "bind(name = \"has_androidsdk\", actual = \"@bazel_tools//tools/android:always_false\")", }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:local.bzl%local_repository", + "original_rule_class": "local_repository", "original_attributes": { - "name": "rules_java_builtin", - "path": "/root/.cache/bazel/_bazel_root/install/ec66cb4ed623de0db7a7f89408b9b468/rules_java", + "name": "voidstar", + "path": ".", }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:local.bzl%local_repository", - "attributes": { - "name": "rules_java_builtin", - "path": "/root/.cache/bazel/_bazel_root/install/ec66cb4ed623de0db7a7f89408b9b468/rules_java", - }, - "output_tree_hash": "23156af102e8441d4b3e5358092fc1dce333786289d48b1df6503ecb8c735cf3", - }, - ], + "native": "local_repository(name = \"voidstar\", path = \".\")", }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { "name": "bazel_upgradable", "url": "https://github.com/fenollp/bazel_upgradable/archive/0.2.1.zip", @@ -105,12 +96,12 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "https://github.com/fenollp/bazel_upgradable/archive/0.2.1.zip", "urls": [], - "sha256": "", - "integrity": "sha256-1f4/Mvegg8OpDY5OWKm59TJfFrAbnfwA69+TDzi7VYg=", + "sha256": "d5fe3f32f7a083c3a90d8e4e58a9b9f5325f16b01b9dfc00ebdf930f38bb5588", + "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", @@ -118,8 +109,6 @@ resolved = [ "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -137,7 +126,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "original_rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "original_attributes": { "name": "fmt", "patch_cmds": [ @@ -157,7 +146,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "attributes": { "urls": [ "https://github.com/fmtlib/fmt/archive/b6f4ceaed0a0a24ccf575fab6c56dd50ccf6f1a9.tar.gz", @@ -198,7 +187,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "original_rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "original_attributes": { "name": "getopt", "build_file": "//third_party:getopt.BUILD", @@ -206,7 +195,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "attributes": { "urls": [ "https://github.com/skandhurkat/Getopt-for-Visual-Studio/archive/6567b18432b1b4dc0e71f71b8601df28c1ac09f8.tar.gz", @@ -238,7 +227,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "original_rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "original_attributes": { "name": "glew", "strip_prefix": "glew-{tag_digits}", @@ -250,7 +239,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "attributes": { "urls": [ "https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.tgz", @@ -282,7 +271,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "original_rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "original_attributes": { "name": "glew_win64", "strip_prefix": "glew-{tag_digits}", @@ -293,7 +282,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "attributes": { "urls": [ "https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0-win32.zip", @@ -325,7 +314,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "original_rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "original_attributes": { "name": "glfw", "build_file": "//third_party:glfw3.BUILD", @@ -334,7 +323,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "attributes": { "urls": [ "https://github.com/glfw/glfw/archive/dc46d3f8129712e42856c20e99a604a3b08ad581.tar.gz", @@ -366,7 +355,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "original_rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "original_attributes": { "name": "glfw_osx", "strip_prefix": "glfw-{tag_digits}.bin.MACOS", @@ -377,7 +366,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "attributes": { "urls": [ "https://github.com/glfw/glfw/releases/download/3.4/glfw-3.4.bin.MACOS.zip", @@ -409,7 +398,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "original_rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "original_attributes": { "name": "glm", "build_file": "//third_party:glm.BUILD", @@ -417,7 +406,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "attributes": { "urls": [ "https://github.com/g-truc/glm/archive/33b4a621a697a305bc3a7610d290677b96beb181.tar.gz", @@ -449,7 +438,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "original_rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "original_attributes": { "name": "khronos_opengl_registry", "build_file": "//third_party:gl.BUILD", @@ -458,7 +447,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "attributes": { "urls": [ "https://github.com/KhronosGroup/OpenGL-Registry/archive/9da96319b5180c55bab6f0231d384941f4d57200.tar.gz", @@ -490,7 +479,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "original_rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "original_attributes": { "name": "mman_win32", "build_file": "//third_party:mman_win32.BUILD", @@ -498,7 +487,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "attributes": { "urls": [ "https://github.com/klauspost/mman-win32/archive/7952ba1dc02451a9f2227108983f9747c6d1f3d1.tar.gz", @@ -530,7 +519,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "original_rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "original_attributes": { "name": "rules_cc", "branch": "main", @@ -538,17 +527,17 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_upgradable//:rule.bzl%upgradable_repository", + "rule_class": "@bazel_upgradable//:rule.bzl%upgradable_repository", "attributes": { "urls": [ - "https://github.com/bazelbuild/rules_cc/archive/faeafdb82814b4f7295c555781e800f080607bdd.tar.gz", - "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/faeafdb82814b4f7295c555781e800f080607bdd.tar.gz", + "https://github.com/bazelbuild/rules_cc/archive/597be676dddfa326d10f9bc7a35df17a6bd63d07.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/597be676dddfa326d10f9bc7a35df17a6bd63d07.tar.gz", ], - "sha256": "ca772d4fa149180dd1d81fe19a61c911dcebf9768d56209fc5bf382125ade0b6", + "sha256": "bda963385b117bb2a227c35f841ff2998a3e7ec06ac5ee98bec31868345f1c33", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "rules_cc-faeafdb82814b4f7295c555781e800f080607bdd", + "strip_prefix": "rules_cc-597be676dddfa326d10f9bc7a35df17a6bd63d07", "type": "tar.gz", "patches": [], "patch_tool": "", @@ -565,12 +554,12 @@ resolved = [ "tag": "", "name": "rules_cc", }, - "output_tree_hash": "3332f3ff4ecd1b8c2cb1aac486ca36c1a4c628cae199f0f753e0c5d9245cf739", + "output_tree_hash": "5a1936b6dc0bc2100b59fba9e51c41c09ca82d01e8de105b5291fb2a4921244e", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { "name": "remote_coverage_tools", "generator_name": "remote_coverage_tools", @@ -583,7 +572,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ @@ -598,8 +587,6 @@ resolved = [ "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -617,73 +604,55 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/jdk:local_java_repository.bzl%_local_java_repository_rule", "original_attributes": { - "name": "bazel_skylib", - "generator_name": "bazel_skylib", + "name": "local_jdk", + "generator_name": "local_jdk", "generator_function": "maybe", "generator_location": None, - "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.1/bazel-skylib-1.6.1.tar.gz", - ], - "sha256": "9f38886a40548c6e96c106b752f242130ee11aaa068a56ba7e56f4511f33e4f2", + "java_home": "/root/.cache/bazel/_bazel_root/install/117cee491f5c7d83be6e3c6d6b5b8ca4/embedded_tools/tools/jdk/nosystemjdk", + "version": "", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = ___RUNTIME_VERSION___,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/jdk:local_java_repository.bzl%_local_java_repository_rule", "attributes": { - "url": "", - "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.1/bazel-skylib-1.6.1.tar.gz", - ], - "sha256": "9f38886a40548c6e96c106b752f242130ee11aaa068a56ba7e56f4511f33e4f2", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "", - "workspace_file_content": "", - "name": "bazel_skylib", + "name": "local_jdk", + "generator_name": "local_jdk", + "generator_function": "maybe", + "generator_location": None, + "java_home": "/root/.cache/bazel/_bazel_root/install/117cee491f5c7d83be6e3c6d6b5b8ca4/embedded_tools/tools/jdk/nosystemjdk", + "version": "", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = ___RUNTIME_VERSION___,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, - "output_tree_hash": "812c4109d01140c82f941132d6a7d0e7587683481d7083d01b12a6bd21373f1d", + "output_tree_hash": "2fcea69feabeda65d41669e99f79d3d40d0f98604b6a7835459f016946a6ec44", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "rules_java", - "generator_name": "rules_java", + "name": "remote_java_tools", + "generator_name": "remote_java_tools", "generator_function": "maybe", "generator_location": None, "urls": [ - "https://github.com/bazelbuild/rules_java/releases/download/7.6.1/rules_java-7.6.1.tar.gz", + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.7/java_tools-v12.7.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.7/java_tools-v12.7.zip", ], - "sha256": "f8ae9ed3887df02f40de9f4f7ac3873e6dd7a471f9cddf63952538b94b59aeb3", + "sha256": "aa11ecd5fc0af2769f0f2bdd25e2f4de7c1291ed24326fb23fa69bdd5dcae2b5", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://github.com/bazelbuild/rules_java/releases/download/7.6.1/rules_java-7.6.1.tar.gz", + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.7/java_tools-v12.7.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.7/java_tools-v12.7.zip", ], - "sha256": "f8ae9ed3887df02f40de9f4f7ac3873e6dd7a471f9cddf63952538b94b59aeb3", + "sha256": "aa11ecd5fc0af2769f0f2bdd25e2f4de7c1291ed24326fb23fa69bdd5dcae2b5", "integrity": "", "netrc": "", "auth_patterns": {}, @@ -692,56 +661,6 @@ resolved = [ "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "", - "workspace_file_content": "", - "name": "rules_java", - }, - "output_tree_hash": "b7c1f182b7021e735f74b10017d837c5ffc65480643c0125d8119fcbcbf40fb9", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "original_attributes": { - "name": "rules_proto", - "generator_name": "rules_proto", - "generator_function": "maybe", - "generator_location": None, - "urls": [ - "https://github.com/bazelbuild/rules_proto/archive/refs/tags/5.3.0-21.7.tar.gz", - ], - "sha256": "dc3fb206a2cb3441b485eb1e423165b231235a1ea9b031b4433cf7bc1fa460dd", - "strip_prefix": "rules_proto-5.3.0-21.7", - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "url": "", - "urls": [ - "https://github.com/bazelbuild/rules_proto/archive/refs/tags/5.3.0-21.7.tar.gz", - ], - "sha256": "dc3fb206a2cb3441b485eb1e423165b231235a1ea9b031b4433cf7bc1fa460dd", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "rules_proto-5.3.0-21.7", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -752,44 +671,43 @@ resolved = [ "patch_cmds_win": [], "build_file_content": "", "workspace_file_content": "", - "name": "rules_proto", + "name": "remote_java_tools", }, - "output_tree_hash": "9534782371e091f25cc063e2930a188d6ae96f4e2bcb64c0bd53d2ef16caff8b", + "output_tree_hash": "c10a4b9eafb25d02d7d7a7e9612d11f0715ea0f0edb9d505dd61ff7a54ce1861", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "rules_python", - "generator_name": "rules_python", + "name": "remote_java_tools_darwin_arm64", + "generator_name": "remote_java_tools_darwin_arm64", "generator_function": "maybe", "generator_location": None, "urls": [ - "https://github.com/bazelbuild/rules_python/releases/download/0.24.0/rules_python-0.24.0.tar.gz", + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.7/java_tools_darwin_arm64-v12.7.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.7/java_tools_darwin_arm64-v12.7.zip", ], - "sha256": "0a8003b044294d7840ac7d9d73eef05d6ceb682d7516781a4ec62eeb34702578", - "strip_prefix": "rules_python-0.24.0", + "sha256": "ecedf6305768dfd51751d0ad732898af092bd7710d497c6c6c3214af7e49395f", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://github.com/bazelbuild/rules_python/releases/download/0.24.0/rules_python-0.24.0.tar.gz", + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.7/java_tools_darwin_arm64-v12.7.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.7/java_tools_darwin_arm64-v12.7.zip", ], - "sha256": "0a8003b044294d7840ac7d9d73eef05d6ceb682d7516781a4ec62eeb34702578", + "sha256": "ecedf6305768dfd51751d0ad732898af092bd7710d497c6c6c3214af7e49395f", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "rules_python-0.24.0", + "strip_prefix": "", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -800,62 +718,35 @@ resolved = [ "patch_cmds_win": [], "build_file_content": "", "workspace_file_content": "", - "name": "rules_python", + "name": "remote_java_tools_darwin_arm64", }, - "output_tree_hash": "6ca8feaf3154c1ebd3670f446c22ddc1fd03926fb3e8dc3f5892f548b48e971d", + "output_tree_hash": "7196acd7344f8f416aef73122c7f2bd78418b811db6b972b7e3425518176f0fe", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:local_java_repository.bzl%_local_java_repository_rule", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "local_jdk", - "generator_name": "local_jdk", + "name": "remote_java_tools_darwin_x86_64", + "generator_name": "remote_java_tools_darwin_x86_64", "generator_function": "maybe", "generator_location": None, - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = {RUNTIME_VERSION},\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = {RUNTIME_VERSION},\n)\n", - "java_home": "", - "version": "", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:local_java_repository.bzl%_local_java_repository_rule", - "attributes": { - "name": "local_jdk", - "generator_name": "local_jdk", - "generator_function": "maybe", - "generator_location": None, - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = {RUNTIME_VERSION},\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = {RUNTIME_VERSION},\n)\n", - "java_home": "", - "version": "", - }, - "output_tree_hash": "bb7afbf5035396cca5895fddd91f3739de3d6599c4e10f2abe592a11f8414a7a", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "original_attributes": { - "name": "remote_java_tools", - "generator_name": "remote_java_tools", - "generator_function": "rules_java_dependencies", - "generator_location": None, "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.6.1/java_tools-v13.6.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_13.6.1/java_tools-v13.6.1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.7/java_tools_darwin_x86_64-v12.7.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.7/java_tools_darwin_x86_64-v12.7.zip", ], - "sha256": "74c978eab040ad4ec38ce0d0970ac813cc2c6f4f6f4f121c0414719487edc991", + "sha256": "e116c649c0355ab57ffcc870ce1139e5e1528cabac458bd50263d2b84ea4ffb2", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.6.1/java_tools-v13.6.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_13.6.1/java_tools-v13.6.1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.7/java_tools_darwin_x86_64-v12.7.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.7/java_tools_darwin_x86_64-v12.7.zip", ], - "sha256": "74c978eab040ad4ec38ce0d0970ac813cc2c6f4f6f4f121c0414719487edc991", + "sha256": "e116c649c0355ab57ffcc870ce1139e5e1528cabac458bd50263d2b84ea4ffb2", "integrity": "", "netrc": "", "auth_patterns": {}, @@ -864,8 +755,6 @@ resolved = [ "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -876,35 +765,35 @@ resolved = [ "patch_cmds_win": [], "build_file_content": "", "workspace_file_content": "", - "name": "remote_java_tools", + "name": "remote_java_tools_darwin_x86_64", }, - "output_tree_hash": "8672ba3444d84d0721ee3d4579a85b59b6e48a88c9ba8733dbbf8f1b641722f9", + "output_tree_hash": "9d0144beea7d0bbc38024a1f600b939e683c9d92a817ea99f0cdfe1239ec7a12", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remote_java_tools_darwin_arm64", - "generator_name": "remote_java_tools_darwin_arm64", - "generator_function": "rules_java_dependencies", + "name": "remote_java_tools_linux", + "generator_name": "remote_java_tools_linux", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.6.1/java_tools_darwin_arm64-v13.6.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_13.6.1/java_tools_darwin_arm64-v13.6.1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.7/java_tools_linux-v12.7.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.7/java_tools_linux-v12.7.zip", ], - "sha256": "eb54c4e5fa23d6e9e9fc14c106a682dbefc54659d8e389a2f3c0d61d51cae274", + "sha256": "a346b9a291b6db1bb06f7955f267e47522d99963fe14e337da1d75d125a8599f", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.6.1/java_tools_darwin_arm64-v13.6.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_13.6.1/java_tools_darwin_arm64-v13.6.1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.7/java_tools_linux-v12.7.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.7/java_tools_linux-v12.7.zip", ], - "sha256": "eb54c4e5fa23d6e9e9fc14c106a682dbefc54659d8e389a2f3c0d61d51cae274", + "sha256": "a346b9a291b6db1bb06f7955f267e47522d99963fe14e337da1d75d125a8599f", "integrity": "", "netrc": "", "auth_patterns": {}, @@ -913,8 +802,6 @@ resolved = [ "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -925,35 +812,35 @@ resolved = [ "patch_cmds_win": [], "build_file_content": "", "workspace_file_content": "", - "name": "remote_java_tools_darwin_arm64", + "name": "remote_java_tools_linux", }, - "output_tree_hash": "6049e72b170ca56e3084c6ecea53ef01eaedc3325ae472fc71a103d59779037c", + "output_tree_hash": "fc27955c5f5d045fa1e5f101cb19abca9e722cc29885d57597fa84874cecda80", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remote_java_tools_darwin_x86_64", - "generator_name": "remote_java_tools_darwin_x86_64", - "generator_function": "rules_java_dependencies", + "name": "remote_java_tools_windows", + "generator_name": "remote_java_tools_windows", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.6.1/java_tools_darwin_x86_64-v13.6.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_13.6.1/java_tools_darwin_x86_64-v13.6.1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.7/java_tools_windows-v12.7.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.7/java_tools_windows-v12.7.zip", ], - "sha256": "465dcb1da77a0c83c49f178c11bad29b3d703df1756722ec42fe5afd7c8129f8", + "sha256": "bae6a03b5aeead5804ba7bcdcc8b14ec3ed05b37f3db5519f788ab060bc53b05", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.6.1/java_tools_darwin_x86_64-v13.6.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_13.6.1/java_tools_darwin_x86_64-v13.6.1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.7/java_tools_windows-v12.7.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.7/java_tools_windows-v12.7.zip", ], - "sha256": "465dcb1da77a0c83c49f178c11bad29b3d703df1756722ec42fe5afd7c8129f8", + "sha256": "bae6a03b5aeead5804ba7bcdcc8b14ec3ed05b37f3db5519f788ab060bc53b05", "integrity": "", "netrc": "", "auth_patterns": {}, @@ -962,8 +849,6 @@ resolved = [ "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -974,45 +859,45 @@ resolved = [ "patch_cmds_win": [], "build_file_content": "", "workspace_file_content": "", - "name": "remote_java_tools_darwin_x86_64", + "name": "remote_java_tools_windows", }, - "output_tree_hash": "0ac5f7e9db91560ecad870494e9549b3d1207099e6255b45dd4d1dd799cab472", + "output_tree_hash": "68b5e9b3375c7df71067fc039cbd5bbdabab79862bad1678ea62289c1e28bf8c", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remote_java_tools_linux", - "generator_name": "remote_java_tools_linux", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_linux", + "generator_name": "remotejdk11_linux", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.6.1/java_tools_linux-v13.6.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_13.6.1/java_tools_linux-v13.6.1.zip", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", ], - "sha256": "0d3fcae7ae40d0a25f17c3adc30a3674f526953c55871189e2efe3463fce3496", + "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_x64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.6.1/java_tools_linux-v13.6.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_13.6.1/java_tools_linux-v13.6.1.zip", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", ], - "sha256": "0d3fcae7ae40d0a25f17c3adc30a3674f526953c55871189e2efe3463fce3496", + "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "", + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_x64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -1021,47 +906,47 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remote_java_tools_linux", + "name": "remotejdk11_linux", }, - "output_tree_hash": "a00c828d31b755224c9c0dc52899d306470ffa71e36b228365e9e742d82bcb8e", + "output_tree_hash": "089393550c7741e76a520e84fad53f254f5f3c896288452516baa7b0686d9dc8", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remote_java_tools_windows", - "generator_name": "remote_java_tools_windows", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_linux_aarch64", + "generator_name": "remotejdk11_linux_aarch64", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.6.1/java_tools_windows-v13.6.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_13.6.1/java_tools_windows-v13.6.1.zip", + "https://mirror.bazel.build/cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", + "https://cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", ], - "sha256": "5a7d00e42c0b35f08eb5c8577eb115f8f57dd36ef8b6940c2190bd0d0e4ddcf0", + "sha256": "fc7c41a0005180d4ca471c90d01e049469e0614cf774566d4cf383caa29d1a97", + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_aarch64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.6.1/java_tools_windows-v13.6.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_13.6.1/java_tools_windows-v13.6.1.zip", + "https://mirror.bazel.build/cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", + "https://cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", ], - "sha256": "5a7d00e42c0b35f08eb5c8577eb115f8f57dd36ef8b6940c2190bd0d0e4ddcf0", + "sha256": "fc7c41a0005180d4ca471c90d01e049469e0614cf774566d4cf383caa29d1a97", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "", + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_aarch64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -1070,100 +955,70 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remote_java_tools_windows", + "name": "remotejdk11_linux_aarch64", }, - "output_tree_hash": "f5e0921910028002b3689b62ed04f1cb225e2ad18162fc74ae24d1efa2328812", + "output_tree_hash": "0fc4ad2c325806d3963eafdc627ced3e3e76966a4a9cc9dd39e49f5cd5f6986d", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remote_jdk8_linux", - "generator_name": "remote_jdk8_linux", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_linux_aarch64_toolchain_config_repo", + "generator_name": "remotejdk11_linux_aarch64_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-linux_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-linux_x64.tar.gz", - ], - "sha256": "9c0ac5ebffa61520fee78ead52add0f4edd3b1b54b01b6a17429b719515caf90", - "strip_prefix": "zulu8.78.0.19-ca-jdk8.0.412-linux_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "url": "", - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-linux_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-linux_x64.tar.gz", - ], - "sha256": "9c0ac5ebffa61520fee78ead52add0f4edd3b1b54b01b6a17429b719515caf90", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "zulu8.78.0.19-ca-jdk8.0.412-linux_x64", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", - "workspace_file_content": "", - "name": "remote_jdk8_linux", + "name": "remotejdk11_linux_aarch64_toolchain_config_repo", + "generator_name": "remotejdk11_linux_aarch64_toolchain_config_repo", + "generator_function": "maybe", + "generator_location": None, + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\n", }, - "output_tree_hash": "f2966ef1f4af0ebfb739d78306d4602a8bb213a09b3449d7962fa50af1e713b7", + "output_tree_hash": "f817d64408c5484cf564d5fdc24f11c3f601835818645f6de7ab4c56eaf4056f", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remote_jdk8_linux_aarch64", - "generator_name": "remote_jdk8_linux_aarch64", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_linux_ppc64le", + "generator_name": "remotejdk11_linux_ppc64le", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-linux_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-linux_aarch64.tar.gz", + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", ], - "sha256": "82c46c65d57e187ef68fdd125ef760eaeb52ebfe1be1a6a251cf5b43cbebc78a", - "strip_prefix": "zulu8.78.0.19-ca-jdk8.0.412-linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", + "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", + "strip_prefix": "jdk-11.0.15+10", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-linux_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-linux_aarch64.tar.gz", + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", ], - "sha256": "82c46c65d57e187ef68fdd125ef760eaeb52ebfe1be1a6a251cf5b43cbebc78a", + "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu8.78.0.19-ca-jdk8.0.412-linux_aarch64", + "strip_prefix": "jdk-11.0.15+10", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -1172,72 +1027,70 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remote_jdk8_linux_aarch64", + "name": "remotejdk11_linux_ppc64le", }, - "output_tree_hash": "4cfae651621ee66e1a71236e1bf59ac64a3d00a5257427ffab3abfd04716caea", + "output_tree_hash": "85c6c7dc15a0b78793dabfc619b01b34a76b7f035993b0193f5310e8fc76aa4b", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remote_jdk8_linux_aarch64_toolchain_config_repo", - "generator_name": "remote_jdk8_linux_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_linux_ppc64le_toolchain_config_repo", + "generator_name": "remotejdk11_linux_ppc64le_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remote_jdk8_linux_aarch64_toolchain_config_repo", - "generator_name": "remote_jdk8_linux_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_linux_ppc64le_toolchain_config_repo", + "generator_name": "remotejdk11_linux_ppc64le_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\n", }, - "output_tree_hash": "c9c795851cffbf2a808bfc7cccea597c3b3fef46cfefa084f7e9de7e90b65447", + "output_tree_hash": "b5938368c9f92a6f5045ffca11214afb8ec9256686bec9245714376aa66b67d1", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remote_jdk8_linux_s390x", - "generator_name": "remote_jdk8_linux_s390x", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_linux_s390x", + "generator_name": "remotejdk11_linux_s390x", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_s390x_linux_hotspot_8u292b10.tar.gz", - "https://mirror.bazel.build/github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_s390x_linux_hotspot_8u292b10.tar.gz", + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", ], - "sha256": "276a431c79b7e94bc1b1b4fd88523383ae2d635ea67114dfc8a6174267f8fb2c", - "strip_prefix": "jdk8u292-b10", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", + "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", + "strip_prefix": "jdk-11.0.15+10", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_s390x_linux_hotspot_8u292b10.tar.gz", - "https://mirror.bazel.build/github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_s390x_linux_hotspot_8u292b10.tar.gz", + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", ], - "sha256": "276a431c79b7e94bc1b1b4fd88523383ae2d635ea67114dfc8a6174267f8fb2c", + "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "jdk8u292-b10", + "strip_prefix": "jdk-11.0.15+10", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -1246,95 +1099,93 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remote_jdk8_linux_s390x", + "name": "remotejdk11_linux_s390x", }, - "output_tree_hash": "0a372198ae0838063dbf5d4bf3460cfd9882d55086880be511f3ab09ba76af5f", + "output_tree_hash": "f39e187e0d767f5183be31670ddb5b049171db922caa21e0f8a3682580d8e533", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remote_jdk8_linux_s390x_toolchain_config_repo", - "generator_name": "remote_jdk8_linux_s390x_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_linux_s390x_toolchain_config_repo", + "generator_name": "remotejdk11_linux_s390x_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux_s390x//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remote_jdk8_linux_s390x_toolchain_config_repo", - "generator_name": "remote_jdk8_linux_s390x_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_linux_s390x_toolchain_config_repo", + "generator_name": "remotejdk11_linux_s390x_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux_s390x//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\n", }, - "output_tree_hash": "f1e3f0b4884e21863a7c19a3a12a8995ed4162e02bd07cbb61b42799fc2d7359", + "output_tree_hash": "10df692cd4259131687761221fcb989c660f1c6e9376feba066b4fdc80bdc048", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remote_jdk8_linux_toolchain_config_repo", - "generator_name": "remote_jdk8_linux_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_linux_toolchain_config_repo", + "generator_name": "remotejdk11_linux_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remote_jdk8_linux_toolchain_config_repo", - "generator_name": "remote_jdk8_linux_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_linux_toolchain_config_repo", + "generator_name": "remotejdk11_linux_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_linux//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\n", }, - "output_tree_hash": "b6a178fc0ca08a4473490f1c5d0f9f633db0ca0f2834c69dd08ce8290cf9ca86", + "output_tree_hash": "8e1033ec85367ff2067aa4aa175c76d9cab0f81b9d0d4f10b7743e953331b892", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remote_jdk8_macos", - "generator_name": "remote_jdk8_macos", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_macos", + "generator_name": "remotejdk11_macos", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-macosx_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-macosx_x64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", ], - "sha256": "2bfa0506196962bddb21a604eaa2b0b39eaf3383d0bdad08bdbe7f42f25d8928", - "strip_prefix": "zulu8.78.0.19-ca-jdk8.0.412-macosx_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", + "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_x64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-macosx_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-macosx_x64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", ], - "sha256": "2bfa0506196962bddb21a604eaa2b0b39eaf3383d0bdad08bdbe7f42f25d8928", + "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu8.78.0.19-ca-jdk8.0.412-macosx_x64", + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_x64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -1343,49 +1194,47 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remote_jdk8_macos", + "name": "remotejdk11_macos", }, - "output_tree_hash": "0dbad97d4d783c32b9aca9250542db377f81e1a12b43380809e46fa020f0dc79", + "output_tree_hash": "baeaa6afec9a164efaad322c3b1a465aa44acfe4198537448d601cd10048dc85", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remote_jdk8_macos_aarch64", - "generator_name": "remote_jdk8_macos_aarch64", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_macos_aarch64", + "generator_name": "remotejdk11_macos_aarch64", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-macosx_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-macosx_aarch64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", ], - "sha256": "35bc35808379400e4a70e1f7ee379778881799b93c2cc9fe1ae515c03c2fb057", - "strip_prefix": "zulu8.78.0.19-ca-jdk8.0.412-macosx_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", + "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-macosx_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-macosx_aarch64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", ], - "sha256": "35bc35808379400e4a70e1f7ee379778881799b93c2cc9fe1ae515c03c2fb057", + "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu8.78.0.19-ca-jdk8.0.412-macosx_aarch64", + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -1394,761 +1243,93 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remote_jdk8_macos_aarch64", + "name": "remotejdk11_macos_aarch64", }, - "output_tree_hash": "35071a4753262063a9f6c2dfdf1bc07cfae69d6880aa80490a65437c62ea7005", + "output_tree_hash": "fced4d63a69f5c89dd3315e77f163fa918619fd927443fcb8b868a0c40985d35", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remote_jdk8_macos_aarch64_toolchain_config_repo", - "generator_name": "remote_jdk8_macos_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_macos_aarch64_toolchain_config_repo", + "generator_name": "remotejdk11_macos_aarch64_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_macos_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remote_jdk8_macos_aarch64_toolchain_config_repo", - "generator_name": "remote_jdk8_macos_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_macos_aarch64_toolchain_config_repo", + "generator_name": "remotejdk11_macos_aarch64_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_macos_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\n", }, - "output_tree_hash": "4d721d8b0731cfb50f963f8b55c7bef9f572de0e2f251f07a12c722ef1acbb2f", + "output_tree_hash": "a762e337f24b8b511c520c1101b81cc02082e3fd25e58140dfa47eb7342161ce", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remote_jdk8_macos_toolchain_config_repo", - "generator_name": "remote_jdk8_macos_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_macos_toolchain_config_repo", + "generator_name": "remotejdk11_macos_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_macos//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remote_jdk8_macos_toolchain_config_repo", - "generator_name": "remote_jdk8_macos_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_macos_toolchain_config_repo", + "generator_name": "remotejdk11_macos_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_macos//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\n", }, - "output_tree_hash": "e0d82dc2dbe8ec49d859811afe4973ec36226875a39ac7fc8419e91e7e9c89fb", + "output_tree_hash": "4b40216fabc2f6c17810749b3bf713065a39e05ff547dac45c395be6391709af", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remote_jdk8_windows", - "generator_name": "remote_jdk8_windows", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-win_x64.zip", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-win_x64.zip", - ], - "sha256": "ca5499c301d5b42604d8535b8c40a7f928a796247b8c66a600333dd799798ff7", - "strip_prefix": "zulu8.78.0.19-ca-jdk8.0.412-win_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "url": "", - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-win_x64.zip", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-win_x64.zip", - ], - "sha256": "ca5499c301d5b42604d8535b8c40a7f928a796247b8c66a600333dd799798ff7", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "zulu8.78.0.19-ca-jdk8.0.412-win_x64", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 8,\n)\n", - "workspace_file_content": "", - "name": "remote_jdk8_windows", - }, - "output_tree_hash": "96bc0dc519a7195f7986bf9653688d20bd44df6bde3a14ad1796ae3ef64954b6", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remote_jdk8_windows_toolchain_config_repo", - "generator_name": "remote_jdk8_windows_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_windows//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_windows//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remote_jdk8_windows_toolchain_config_repo", - "generator_name": "remote_jdk8_windows_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_8\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"8\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_windows//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remote_jdk8_windows//:jdk\",\n)\n", - }, - "output_tree_hash": "8d0b08c18f215c185d64efe72054a5ffef36325906c34ebf1d3c710d4ba5c685", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "original_attributes": { - "name": "remotejdk11_linux", - "generator_name": "remotejdk11_linux", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-linux_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-linux_x64.tar.gz", - ], - "sha256": "0a4d1bfc7a96a7f9f5329b72b9801b3c53366417b4753f1b658fa240204c7347", - "strip_prefix": "zulu11.72.19-ca-jdk11.0.23-linux_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "url": "", - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-linux_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-linux_x64.tar.gz", - ], - "sha256": "0a4d1bfc7a96a7f9f5329b72b9801b3c53366417b4753f1b658fa240204c7347", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "zulu11.72.19-ca-jdk11.0.23-linux_x64", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "workspace_file_content": "", - "name": "remotejdk11_linux", - }, - "output_tree_hash": "942134199e006e0dd974bc55ccdc68174e74ca110595f0580916c69f3b2c5e9d", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "original_attributes": { - "name": "remotejdk11_linux_aarch64", - "generator_name": "remotejdk11_linux_aarch64", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-linux_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-linux_aarch64.tar.gz", - ], - "sha256": "be7d7574253c893eb58f66e985c75adf48558c41885827d1f02f827e109530e0", - "strip_prefix": "zulu11.72.19-ca-jdk11.0.23-linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "url": "", - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-linux_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-linux_aarch64.tar.gz", - ], - "sha256": "be7d7574253c893eb58f66e985c75adf48558c41885827d1f02f827e109530e0", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "zulu11.72.19-ca-jdk11.0.23-linux_aarch64", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "workspace_file_content": "", - "name": "remotejdk11_linux_aarch64", - }, - "output_tree_hash": "0ce21aa3ed33132e6623987cc90c797053901b911e83ba9b782a557e4a782059", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk11_linux_aarch64_toolchain_config_repo", - "generator_name": "remotejdk11_linux_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk11_linux_aarch64_toolchain_config_repo", - "generator_name": "remotejdk11_linux_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\n", - }, - "output_tree_hash": "bef508c068dd47d605f62c53ab0628f1f7f5101fdcc8ada09b2067b36c47931f", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "original_attributes": { - "name": "remotejdk11_linux_ppc64le", - "generator_name": "remotejdk11_linux_ppc64le", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "urls": [ - "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", - ], - "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", - "strip_prefix": "jdk-11.0.15+10", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "url": "", - "urls": [ - "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", - ], - "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "jdk-11.0.15+10", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "workspace_file_content": "", - "name": "remotejdk11_linux_ppc64le", - }, - "output_tree_hash": "ab4727e295000861cdae67c42241d3df387af42c6f48a204f638f3841134683c", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk11_linux_ppc64le_toolchain_config_repo", - "generator_name": "remotejdk11_linux_ppc64le_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk11_linux_ppc64le_toolchain_config_repo", - "generator_name": "remotejdk11_linux_ppc64le_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\n", - }, - "output_tree_hash": "3272b586976beea589d09ea8029fd5d714da40127c8850e3480991c2440c5825", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "original_attributes": { - "name": "remotejdk11_linux_s390x", - "generator_name": "remotejdk11_linux_s390x", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "urls": [ - "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", - ], - "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", - "strip_prefix": "jdk-11.0.15+10", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "url": "", - "urls": [ - "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", - ], - "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "jdk-11.0.15+10", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "workspace_file_content": "", - "name": "remotejdk11_linux_s390x", - }, - "output_tree_hash": "4b98c1325c5cad392fd95aa91522df2b53d25e943bb53e79a2be133f7d83ca08", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk11_linux_s390x_toolchain_config_repo", - "generator_name": "remotejdk11_linux_s390x_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk11_linux_s390x_toolchain_config_repo", - "generator_name": "remotejdk11_linux_s390x_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\n", - }, - "output_tree_hash": "244e11245106a8495ac4744a90023b87008e3e553766ba11d47a9fe5b4bb408d", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk11_linux_toolchain_config_repo", - "generator_name": "remotejdk11_linux_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk11_linux_toolchain_config_repo", - "generator_name": "remotejdk11_linux_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\n", - }, - "output_tree_hash": "0a170bf4f31e6c4621aeb4d4ce4b75b808be2f3a63cb55dc8172c27707d299ab", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "original_attributes": { - "name": "remotejdk11_macos", - "generator_name": "remotejdk11_macos", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-macosx_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-macosx_x64.tar.gz", - ], - "sha256": "e5b19b82045826ae09c9d17742691bc9e40312c44be7bd7598ae418a3d4edb1c", - "strip_prefix": "zulu11.72.19-ca-jdk11.0.23-macosx_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "url": "", - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-macosx_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-macosx_x64.tar.gz", - ], - "sha256": "e5b19b82045826ae09c9d17742691bc9e40312c44be7bd7598ae418a3d4edb1c", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "zulu11.72.19-ca-jdk11.0.23-macosx_x64", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "workspace_file_content": "", - "name": "remotejdk11_macos", - }, - "output_tree_hash": "0e0142b861f6368bc48ded7dd53954d9d41cfcb5daac703729bd6c5b38bc585e", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "original_attributes": { - "name": "remotejdk11_macos_aarch64", - "generator_name": "remotejdk11_macos_aarch64", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-macosx_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-macosx_aarch64.tar.gz", - ], - "sha256": "40fb1918385e03814b67b7608c908c7f945ccbeddbbf5ed062cdfb2602e21c83", - "strip_prefix": "zulu11.72.19-ca-jdk11.0.23-macosx_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "url": "", - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-macosx_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-macosx_aarch64.tar.gz", - ], - "sha256": "40fb1918385e03814b67b7608c908c7f945ccbeddbbf5ed062cdfb2602e21c83", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "zulu11.72.19-ca-jdk11.0.23-macosx_aarch64", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "workspace_file_content": "", - "name": "remotejdk11_macos_aarch64", - }, - "output_tree_hash": "77f09d3a6f2a5588da29a0743f477cf6fca8f8340c32947963d14b69761106f8", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk11_macos_aarch64_toolchain_config_repo", - "generator_name": "remotejdk11_macos_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk11_macos_aarch64_toolchain_config_repo", - "generator_name": "remotejdk11_macos_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\n", - }, - "output_tree_hash": "ca1d067909669aa58188026a7da06d43bdec74a3ba5c122af8a4c3660acd8d8f", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk11_macos_toolchain_config_repo", - "generator_name": "remotejdk11_macos_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk11_macos_toolchain_config_repo", - "generator_name": "remotejdk11_macos_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\n", - }, - "output_tree_hash": "45b3b36d22d3e614745e7a5e838351c32fe0eabb09a4a197bac0f4d416a950ce", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "original_attributes": { - "name": "remotejdk11_win", - "generator_name": "remotejdk11_win", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-win_x64.zip", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-win_x64.zip", - ], - "sha256": "1295b2affe498018c45f6f15187b58c4456d51dce5eb608ee73ef7665d4566d2", - "strip_prefix": "zulu11.72.19-ca-jdk11.0.23-win_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "url": "", - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-win_x64.zip", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.72.19-ca-jdk11.0.23-win_x64.zip", - ], - "sha256": "1295b2affe498018c45f6f15187b58c4456d51dce5eb608ee73ef7665d4566d2", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "zulu11.72.19-ca-jdk11.0.23-win_x64", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "workspace_file_content": "", - "name": "remotejdk11_win", - }, - "output_tree_hash": "886f29a9397b705506fd514051721a68a12bf832ac8f17253e61a00b2c93fb13", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "original_attributes": { - "name": "remotejdk11_win_arm64", - "generator_name": "remotejdk11_win_arm64", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "urls": [ - "https://aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip", - "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip", - ], - "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", - "strip_prefix": "jdk-11.0.13+8", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "url": "", - "urls": [ - "https://aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip", - "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip", - ], - "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", - "integrity": "", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "jdk-11.0.13+8", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "workspace_file_content": "", - "name": "remotejdk11_win_arm64", - }, - "output_tree_hash": "78f20fce91549db2b6aed13b73812f3069cac1bc1b5ed698216422eb89cf875a", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk11_win_arm64_toolchain_config_repo", - "generator_name": "remotejdk11_win_arm64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk11_win_arm64_toolchain_config_repo", - "generator_name": "remotejdk11_win_arm64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\n", - }, - "output_tree_hash": "c237bd9668de9b6437c452c020ea5bc717ff80b1a5ffd581adfdc7d4a6c5fe03", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk11_win_toolchain_config_repo", - "generator_name": "remotejdk11_win_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk11_win_toolchain_config_repo", - "generator_name": "remotejdk11_win_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\n", - }, - "output_tree_hash": "d0587a4ecc9323d5cf65314b2d284b520ffb5ee1d3231cc6601efa13dadcc0f4", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "original_attributes": { - "name": "remotejdk17_linux", - "generator_name": "remotejdk17_linux", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_win", + "generator_name": "remotejdk11_win", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-linux_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-linux_x64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", ], - "sha256": "a1e8ac9ae5804b84dc07cf9d8ebe1b18247d70c92c1e0de97ea10109563f4379", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-linux_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-win_x64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-linux_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-linux_x64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", ], - "sha256": "a1e8ac9ae5804b84dc07cf9d8ebe1b18247d70c92c1e0de97ea10109563f4379", + "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-linux_x64", + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-win_x64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2157,49 +1338,45 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remotejdk17_linux", + "name": "remotejdk11_win", }, - "output_tree_hash": "658378b7a3473fe195c1f5dfbb8bf77660b110c65dacf8e98d1da561a71ea4c7", + "output_tree_hash": "d46219f64843449e0adfb8f2af4fcf547cb34976a00ddf53cdd607ea3142d8c1", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remotejdk17_linux_aarch64", - "generator_name": "remotejdk17_linux_aarch64", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_win_arm64", + "generator_name": "remotejdk11_win_arm64", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-linux_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-linux_aarch64.tar.gz", + "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip", ], - "sha256": "518cc455c0c7b49c0ae7d809c0bb87ab371bb850d46abb8efad5010c6a06faec", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", + "strip_prefix": "jdk-11.0.13+8", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-linux_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-linux_aarch64.tar.gz", + "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip", ], - "sha256": "518cc455c0c7b49c0ae7d809c0bb87ab371bb850d46abb8efad5010c6a06faec", + "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-linux_aarch64", + "strip_prefix": "jdk-11.0.13+8", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2208,72 +1385,93 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remotejdk17_linux_aarch64", + "name": "remotejdk11_win_arm64", }, - "output_tree_hash": "2911125484c4c0352a7e5cb4cdd3632ebef5e3be43612d7543d701a491ea2ac7", + "output_tree_hash": "a861a327fb40354bcca2db8a9bc20078aed65e086466f2b7308cc8b0588f99e5", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remotejdk17_linux_aarch64_toolchain_config_repo", - "generator_name": "remotejdk17_linux_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_win_arm64_toolchain_config_repo", + "generator_name": "remotejdk11_win_arm64_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remotejdk17_linux_aarch64_toolchain_config_repo", - "generator_name": "remotejdk17_linux_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk11_win_arm64_toolchain_config_repo", + "generator_name": "remotejdk11_win_arm64_toolchain_config_repo", + "generator_function": "maybe", + "generator_location": None, + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\n", + }, + "output_tree_hash": "383e78f7a5b828401c8b5a470bc3676797a189fe9641856f243c35e282e4384c", + }, + ], + }, + { + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", + "original_attributes": { + "name": "remotejdk11_win_toolchain_config_repo", + "generator_name": "remotejdk11_win_toolchain_config_repo", + "generator_function": "maybe", + "generator_location": None, + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\n", + }, + "repositories": [ + { + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", + "attributes": { + "name": "remotejdk11_win_toolchain_config_repo", + "generator_name": "remotejdk11_win_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\n", }, - "output_tree_hash": "b169b01ac1a169d7eb5e3525454c3e408e9127993ac0f578dc2c5ad183fd4e3e", + "output_tree_hash": "f6c7a48666a77c098017285e46d511074ce3de7ff4e9808bc592fd49228681b2", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remotejdk17_linux_ppc64le", - "generator_name": "remotejdk17_linux_ppc64le", - "generator_function": "rules_java_dependencies", + "name": "remotejdk17_linux", + "generator_name": "remotejdk17_linux", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1+1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1+1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz", ], - "sha256": "00a4c07603d0218cd678461b5b3b7e25b3253102da4022d31fc35907f21a2efd", - "strip_prefix": "jdk-17.0.8.1+1", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "20c91a922eec795f3181eaa70def8b99d8eac56047c9a14bfb257c85b991df1b", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_x64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1+1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1+1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz", ], - "sha256": "00a4c07603d0218cd678461b5b3b7e25b3253102da4022d31fc35907f21a2efd", + "sha256": "20c91a922eec795f3181eaa70def8b99d8eac56047c9a14bfb257c85b991df1b", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "jdk-17.0.8.1+1", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_x64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2282,72 +1480,47 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remotejdk17_linux_ppc64le", - }, - "output_tree_hash": "b89f167e7d4234bafbbcfc61cf1ff353a37fec31c8c39d500d1bab3fc19acd63", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk17_linux_ppc64le_toolchain_config_repo", - "generator_name": "remotejdk17_linux_ppc64le_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk17_linux_ppc64le_toolchain_config_repo", - "generator_name": "remotejdk17_linux_ppc64le_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\n", + "name": "remotejdk17_linux", }, - "output_tree_hash": "fdc8ae00f2436bfc46b2f54c84f2bd84122787ede232a4d61ffc284bfe6f61ec", + "output_tree_hash": "d6778d3593959057072707023d658611a360b5470237336bc91ce4641d96d299", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remotejdk17_linux_s390x", - "generator_name": "remotejdk17_linux_s390x", - "generator_function": "rules_java_dependencies", + "name": "remotejdk17_linux_aarch64", + "generator_name": "remotejdk17_linux_aarch64", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1+1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1+1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz", ], - "sha256": "ffacba69c6843d7ca70d572489d6cc7ab7ae52c60f0852cedf4cf0d248b6fc37", - "strip_prefix": "jdk-17.0.8.1+1", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "dbc6ae9163e7ff469a9ab1f342cd1bc1f4c1fb78afc3c4f2228ee3b32c4f3e43", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_aarch64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1+1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1+1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz", ], - "sha256": "ffacba69c6843d7ca70d572489d6cc7ab7ae52c60f0852cedf4cf0d248b6fc37", + "sha256": "dbc6ae9163e7ff469a9ab1f342cd1bc1f4c1fb78afc3c4f2228ee3b32c4f3e43", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "jdk-17.0.8.1+1", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_aarch64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2356,95 +1529,93 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remotejdk17_linux_s390x", + "name": "remotejdk17_linux_aarch64", }, - "output_tree_hash": "3e71e27989cdd0514d4b75384ad81b73b43fef7b94a3bc505db675f9e9bdb4c5", + "output_tree_hash": "a89dac9c77e5fc57df5b686e9ad16a561bfa1c75b5cb44b02298ba433f784218", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remotejdk17_linux_s390x_toolchain_config_repo", - "generator_name": "remotejdk17_linux_s390x_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk17_linux_aarch64_toolchain_config_repo", + "generator_name": "remotejdk17_linux_aarch64_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remotejdk17_linux_s390x_toolchain_config_repo", - "generator_name": "remotejdk17_linux_s390x_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk17_linux_aarch64_toolchain_config_repo", + "generator_name": "remotejdk17_linux_aarch64_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\n", }, - "output_tree_hash": "6ba1870e09fccfdcd423f4169b966a73f8e9deaff859ec6fb3b626ed61ebd8b5", + "output_tree_hash": "57763b4c6342c2729b70ccf1676a75726a4775a6e6468c86462f7247c968ecd7", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { "name": "remotejdk17_linux_toolchain_config_repo", "generator_name": "remotejdk17_linux_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { "name": "remotejdk17_linux_toolchain_config_repo", "generator_name": "remotejdk17_linux_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\n", }, - "output_tree_hash": "f0f07fe0f645f2dc7b8c9953c7962627e1c7425cc52f543729dbff16cd20e461", + "output_tree_hash": "9cd805ebc7702094002f5373bee54fb0b9bba1ece881b83ff48c0586ddaa10d5", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { "name": "remotejdk17_macos", "generator_name": "remotejdk17_macos", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-macosx_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-macosx_x64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz", ], - "sha256": "b384991e93af39abe5229c7f5efbe912a7c5a6480674a6e773f3a9128f96a764", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-macosx_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "e6317cee4d40995f0da5b702af3f04a6af2bbd55febf67927696987d11113b53", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_x64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-macosx_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-macosx_x64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz", ], - "sha256": "b384991e93af39abe5229c7f5efbe912a7c5a6480674a6e773f3a9128f96a764", + "sha256": "e6317cee4d40995f0da5b702af3f04a6af2bbd55febf67927696987d11113b53", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-macosx_x64", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_x64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2453,49 +1624,47 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", "name": "remotejdk17_macos", }, - "output_tree_hash": "7d793a42ebde2e09d9ee7bc8d855cc9fd2a3515f73ce55bf003374cabfd64eae", + "output_tree_hash": "20aaf808b9b8a59bfe7282c7ce76ef0359b0d49e1e43981a6e4f57fbfd7a61d7", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { "name": "remotejdk17_macos_aarch64", "generator_name": "remotejdk17_macos_aarch64", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-macosx_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-macosx_aarch64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz", ], - "sha256": "dd1a82d57e80cdefb045066e5c28b5bd41e57eea9c57303ec7e012b57230bb9c", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-macosx_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "515dd56ec99bb5ae8966621a2088aadfbe72631818ffbba6e4387b7ee292ab09", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_aarch64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-macosx_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-macosx_aarch64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz", ], - "sha256": "dd1a82d57e80cdefb045066e5c28b5bd41e57eea9c57303ec7e012b57230bb9c", + "sha256": "515dd56ec99bb5ae8966621a2088aadfbe72631818ffbba6e4387b7ee292ab09", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-macosx_aarch64", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_aarch64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2504,95 +1673,93 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", "name": "remotejdk17_macos_aarch64", }, - "output_tree_hash": "7be6af9fe4a2e7276c86b412e1e7ef908db9f6f59a1492153fccf0060afbd2f7", + "output_tree_hash": "29618fe9500c2d41e359ca2d5bff86b660a427ae79316510cb2cf54e36ea5b1b", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { "name": "remotejdk17_macos_aarch64_toolchain_config_repo", "generator_name": "remotejdk17_macos_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { "name": "remotejdk17_macos_aarch64_toolchain_config_repo", "generator_name": "remotejdk17_macos_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\n", }, - "output_tree_hash": "0eb17f6d969bc665a21e55d29eb51e88a067159ee62cf5094b17658a07d3accb", + "output_tree_hash": "f698cb98820064a11248ba634c70c6df5b57382ee5f8a1b589007e5b73bfc6f8", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { "name": "remotejdk17_macos_toolchain_config_repo", "generator_name": "remotejdk17_macos_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { "name": "remotejdk17_macos_toolchain_config_repo", "generator_name": "remotejdk17_macos_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\n", }, - "output_tree_hash": "41aa7b3317f8d9001746e908454760bf544ffaa058abe22f40711246608022ba", + "output_tree_hash": "8fc6087c6e654d2ff8ce626db7d0902fcf08d111f3c9f737ab19355b67d59c80", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { "name": "remotejdk17_win", "generator_name": "remotejdk17_win", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-win_x64.zip", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-win_x64.zip", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip", ], - "sha256": "43f0f1bdecf48ba9763d46ee7784554c95b442ffdd39ebd62dc8b297cc82e116", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-win_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "9972c5b62a61b45785d3d956c559e079d9e91f144ec46225f5deeda214d48f27", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_x64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-win_x64.zip", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-win_x64.zip", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip", ], - "sha256": "43f0f1bdecf48ba9763d46ee7784554c95b442ffdd39ebd62dc8b297cc82e116", + "sha256": "9972c5b62a61b45785d3d956c559e079d9e91f144ec46225f5deeda214d48f27", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-win_x64", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_x64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2601,49 +1768,47 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", "name": "remotejdk17_win", }, - "output_tree_hash": "c6e56e6f094c35bee04782f8be654eeec2cce23d4cbdc90e7a9ceebb7d9ac3df", + "output_tree_hash": "2c7dbee4e2bcc44990c66a5964775ce8153331cdcea64890cd37bd5f02f4ce8c", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { "name": "remotejdk17_win_arm64", "generator_name": "remotejdk17_win_arm64", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-win_aarch64.zip", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-win_aarch64.zip", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", ], - "sha256": "b8833d272eb31f54f8c881139807a28a74de9deae07d2cc37688ff72043e32c9", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-win_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "sha256": "bc3476f2161bf99bc9a243ff535b8fc033b34ce9a2fa4b62fb8d79b6bfdc427f", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_aarch64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-win_aarch64.zip", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.50.19-ca-jdk17.0.11-win_aarch64.zip", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", ], - "sha256": "b8833d272eb31f54f8c881139807a28a74de9deae07d2cc37688ff72043e32c9", + "sha256": "bc3476f2161bf99bc9a243ff535b8fc033b34ce9a2fa4b62fb8d79b6bfdc427f", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu17.50.19-ca-jdk17.0.11-win_aarch64", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_aarch64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2652,95 +1817,93 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", "name": "remotejdk17_win_arm64", }, - "output_tree_hash": "a1eab900a9704c380eca1c2d7baa56bd2f5a8769e194eccbae76909c37ea7e60", + "output_tree_hash": "1ab3053fe7777f21bb47479a875224f4d11cba995e9f3f78bf143b1159422c93", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { "name": "remotejdk17_win_arm64_toolchain_config_repo", "generator_name": "remotejdk17_win_arm64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { "name": "remotejdk17_win_arm64_toolchain_config_repo", "generator_name": "remotejdk17_win_arm64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\n", }, - "output_tree_hash": "86b129d9c464a9b08f97eca7d8bc5bdb3676b581f8aac044451dbdfaa49e69d3", + "output_tree_hash": "78dfb0f7dab651cbc675d9dfe42e28b363ec26c3e5dc9a57b94833852f91deda", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { "name": "remotejdk17_win_toolchain_config_repo", "generator_name": "remotejdk17_win_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { "name": "remotejdk17_win_toolchain_config_repo", "generator_name": "remotejdk17_win_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\n", }, - "output_tree_hash": "170c3c9a35e502555dc9f04b345e064880acbf7df935f673154011356f4aad34", + "output_tree_hash": "224a8c9f9e2f5e5cbb9efff01aa2555019675d3e1c9b93a7b4a83dfd7f5b69d5", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remotejdk21_linux", - "generator_name": "remotejdk21_linux", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_linux", + "generator_name": "remotejdk18_linux", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-linux_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-linux_x64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz", ], - "sha256": "ca763d1308a6bcc768382f160733a08e591d5f595a7dd9e51b60d27d54828dcc", - "strip_prefix": "zulu21.34.19-ca-jdk21.0.3-linux_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "959a94ca4097dcaabc7886784cec10dfdf2b0a3bff890ea8943cc09c5fff29cb", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_x64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-linux_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-linux_x64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz", ], - "sha256": "ca763d1308a6bcc768382f160733a08e591d5f595a7dd9e51b60d27d54828dcc", + "sha256": "959a94ca4097dcaabc7886784cec10dfdf2b0a3bff890ea8943cc09c5fff29cb", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu21.34.19-ca-jdk21.0.3-linux_x64", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_x64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2749,49 +1912,47 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remotejdk21_linux", + "name": "remotejdk18_linux", }, - "output_tree_hash": "84a1e04ca33b0e635c7f32618ea5e2bd5291a91020799c0db60bbfb7f8cc68cb", + "output_tree_hash": "f55c2255ead0390dd1de2d102c2abea76c8aebda2069e271aec2548760d0caa4", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remotejdk21_linux_aarch64", - "generator_name": "remotejdk21_linux_aarch64", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_linux_aarch64", + "generator_name": "remotejdk18_linux_aarch64", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-linux_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-linux_aarch64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_aarch64.tar.gz", ], - "sha256": "c898d4ce365c8926e22859c06be4a81bafb9fd0126088867e15a528fe99b1599", - "strip_prefix": "zulu21.34.19-ca-jdk21.0.3-linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "a1d5f78172f32f819d08e9043b0f82fa7af738b37c55c6ca8d6092c61d204d53", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_aarch64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-linux_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-linux_aarch64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_aarch64.tar.gz", ], - "sha256": "c898d4ce365c8926e22859c06be4a81bafb9fd0126088867e15a528fe99b1599", + "sha256": "a1d5f78172f32f819d08e9043b0f82fa7af738b37c55c6ca8d6092c61d204d53", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu21.34.19-ca-jdk21.0.3-linux_aarch64", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_aarch64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2800,72 +1961,93 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remotejdk21_linux_aarch64", + "name": "remotejdk18_linux_aarch64", + }, + "output_tree_hash": "4ea372f21b03c76202fdf23f29eb5fff60c22dc269ad5a711cd4dbc859df0ff5", + }, + ], + }, + { + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", + "original_attributes": { + "name": "remotejdk18_linux_aarch64_toolchain_config_repo", + "generator_name": "remotejdk18_linux_aarch64_toolchain_config_repo", + "generator_function": "maybe", + "generator_location": None, + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_linux_aarch64//:jdk\",\n)\n", + }, + "repositories": [ + { + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", + "attributes": { + "name": "remotejdk18_linux_aarch64_toolchain_config_repo", + "generator_name": "remotejdk18_linux_aarch64_toolchain_config_repo", + "generator_function": "maybe", + "generator_location": None, + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_linux_aarch64//:jdk\",\n)\n", }, - "output_tree_hash": "90bd06dd5ce9c4958177db5382f78a41d3cce0f335dc22894e3d4e02a36cd453", + "output_tree_hash": "0492adccec49cb7fafa99a8da0a43c1ecf77d62d15c2213ced41f7dd06d2a40f", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remotejdk21_linux_aarch64_toolchain_config_repo", - "generator_name": "remotejdk21_linux_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_linux_toolchain_config_repo", + "generator_name": "remotejdk18_linux_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_linux//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remotejdk21_linux_aarch64_toolchain_config_repo", - "generator_name": "remotejdk21_linux_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_linux_toolchain_config_repo", + "generator_name": "remotejdk18_linux_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_linux//:jdk\",\n)\n", }, - "output_tree_hash": "bb33021f243382d2fb849ec204c5c8be5083c37e081df71d34a84324687cf001", + "output_tree_hash": "7b4e118acc67f0ab2e764a34c9081459f46ecf83ede0abcb03fdbe4959b9033e", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remotejdk21_linux_ppc64le", - "generator_name": "remotejdk21_linux_ppc64le", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_macos", + "generator_name": "remotejdk18_macos", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2+13/OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.2_13.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2+13/OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.2_13.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz", ], - "sha256": "d08de863499d8851811c893e8915828f2cd8eb67ed9e29432a6b4e222d80a12f", - "strip_prefix": "jdk-21.0.2+13", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "780a9aa4bda95a6793bf41d13f837c59ef915e9bfd0e0c5fd4c70e4cdaa88541", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_x64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2+13/OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.2_13.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2+13/OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.2_13.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz", ], - "sha256": "d08de863499d8851811c893e8915828f2cd8eb67ed9e29432a6b4e222d80a12f", + "sha256": "780a9aa4bda95a6793bf41d13f837c59ef915e9bfd0e0c5fd4c70e4cdaa88541", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "jdk-21.0.2+13", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_x64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2874,72 +2056,47 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remotejdk21_linux_ppc64le", - }, - "output_tree_hash": "24fc3fe005b29713d38ae988b1b16208c8f186872b4ca6d8c66085af99f69c18", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk21_linux_ppc64le_toolchain_config_repo", - "generator_name": "remotejdk21_linux_ppc64le_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_ppc64le//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk21_linux_ppc64le_toolchain_config_repo", - "generator_name": "remotejdk21_linux_ppc64le_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_ppc64le//:jdk\",\n)\n", + "name": "remotejdk18_macos", }, - "output_tree_hash": "7886e497d586c3f3c8225685281b0940e9aa699af208dc98de3db8839e197be3", + "output_tree_hash": "b1572c92886da6f2b50d96dfe822a8a337f41404f5e0442448cdc8e76679162e", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remotejdk21_linux_s390x", - "generator_name": "remotejdk21_linux_s390x", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_macos_aarch64", + "generator_name": "remotejdk18_macos_aarch64", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2+13/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.2_13.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2+13/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.2_13.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz", ], - "sha256": "0d5676c50821e0d0b951bf3ffd717e7a13be2a89d8848a5c13b4aedc6f982c78", - "strip_prefix": "jdk-21.0.2+13", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "9595e001451e201fdf33c1952777968a3ac18fe37273bdeaea5b5ed2c4950432", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_aarch64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2+13/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.2_13.tar.gz", - "https://mirror.bazel.build/github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2+13/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.2_13.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz", ], - "sha256": "0d5676c50821e0d0b951bf3ffd717e7a13be2a89d8848a5c13b4aedc6f982c78", + "sha256": "9595e001451e201fdf33c1952777968a3ac18fe37273bdeaea5b5ed2c4950432", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "jdk-21.0.2+13", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_aarch64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -2948,95 +2105,93 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remotejdk21_linux_s390x", + "name": "remotejdk18_macos_aarch64", }, - "output_tree_hash": "ce11bd7855a33c8bb74d50313bfb7b846debd905e96dab7d5b005b37dbe9b1b8", + "output_tree_hash": "91d3a269167d2c809f7453e98f24ae52df9caf4bc5e0b15691e9bc8b0e4252d1", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remotejdk21_linux_s390x_toolchain_config_repo", - "generator_name": "remotejdk21_linux_s390x_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_macos_aarch64_toolchain_config_repo", + "generator_name": "remotejdk18_macos_aarch64_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_s390x//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_macos_aarch64//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remotejdk21_linux_s390x_toolchain_config_repo", - "generator_name": "remotejdk21_linux_s390x_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_macos_aarch64_toolchain_config_repo", + "generator_name": "remotejdk18_macos_aarch64_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_s390x//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_macos_aarch64//:jdk\",\n)\n", }, - "output_tree_hash": "30b78e0951c37c2d7ae1318f83045ff42ef261dbb93c5b4fd3ba963e12cf68d6", + "output_tree_hash": "d088fdffd2f9c3a6cdefd249980df8b6b1ac0240cb5a1e7c67655ed2f181d0fb", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remotejdk21_linux_toolchain_config_repo", - "generator_name": "remotejdk21_linux_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_macos_toolchain_config_repo", + "generator_name": "remotejdk18_macos_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_macos//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remotejdk21_linux_toolchain_config_repo", - "generator_name": "remotejdk21_linux_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_macos_toolchain_config_repo", + "generator_name": "remotejdk18_macos_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_macos//:jdk\",\n)\n", }, - "output_tree_hash": "ee548ad054c9b75286ff3cd19792e433a2d1236378d3a0d8076fca0bb1a88e05", + "output_tree_hash": "195ddef2a390e6ceebe003a0f2ede89a2962723d5e89c88fc6f1203d84eec1c5", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remotejdk21_macos", - "generator_name": "remotejdk21_macos", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_win", + "generator_name": "remotejdk18_win", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-macosx_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-macosx_x64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip", ], - "sha256": "148006a220a18922d7a9c52ac0bad099c5b4e60334a8d02b11f8c945e9ec9a34", - "strip_prefix": "zulu21.34.19-ca-jdk21.0.3-macosx_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "6c75498163b047595386fdb909cb6d4e04282c3a81799743c5e1f9316391fe16", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_x64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-macosx_x64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-macosx_x64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip", ], - "sha256": "148006a220a18922d7a9c52ac0bad099c5b4e60334a8d02b11f8c945e9ec9a34", + "sha256": "6c75498163b047595386fdb909cb6d4e04282c3a81799743c5e1f9316391fe16", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu21.34.19-ca-jdk21.0.3-macosx_x64", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_x64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -3045,49 +2200,47 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remotejdk21_macos", + "name": "remotejdk18_win", }, - "output_tree_hash": "1a7ebe2c217285b2c56f5461d5dea3c24cdba0baf61482a302b92fa3d51a0199", + "output_tree_hash": "6aa1e71c75068dd196f1e18f584ebc7d3489176f0ddd3b2da616d619081755cf", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remotejdk21_macos_aarch64", - "generator_name": "remotejdk21_macos_aarch64", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_win_arm64", + "generator_name": "remotejdk18_win_arm64", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-macosx_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-macosx_aarch64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", ], - "sha256": "4f42a561909d71868a700cf2efa1390e1b9e04863f3fa75ea30c4965e5a702f0", - "strip_prefix": "zulu21.34.19-ca-jdk21.0.3-macosx_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "9b52b259516e4140ee56b91f77750667bffbc543e78ad8c39082449d4c377b54", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_aarch64", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-macosx_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-macosx_aarch64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", ], - "sha256": "4f42a561909d71868a700cf2efa1390e1b9e04863f3fa75ea30c4965e5a702f0", + "sha256": "9b52b259516e4140ee56b91f77750667bffbc543e78ad8c39082449d4c377b54", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu21.34.19-ca-jdk21.0.3-macosx_aarch64", + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_aarch64", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -3096,95 +2249,89 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", "workspace_file_content": "", - "name": "remotejdk21_macos_aarch64", + "name": "remotejdk18_win_arm64", }, - "output_tree_hash": "d66c9c1f43cabc4818a026850812f0d2c3f27fb1e2d1ea861bd1b1615ca44bfb", + "output_tree_hash": "8d512df008f9549a0870422ac0e5fe37bb93916404e53dd190db78a14f16417f", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remotejdk21_macos_aarch64_toolchain_config_repo", - "generator_name": "remotejdk21_macos_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_win_arm64_toolchain_config_repo", + "generator_name": "remotejdk18_win_arm64_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_win_arm64//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remotejdk21_macos_aarch64_toolchain_config_repo", - "generator_name": "remotejdk21_macos_aarch64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_win_arm64_toolchain_config_repo", + "generator_name": "remotejdk18_win_arm64_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_win_arm64//:jdk\",\n)\n", }, - "output_tree_hash": "706d910cc6809ea7f77fa4f938a4f019dd90d9dad927fb804a14b04321300a36", + "output_tree_hash": "bb8b23eb4ea8b42cec8fd2e3752c459811f8944d1b9c66b71d53f693f71c52c7", }, ], }, { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "original_rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "original_attributes": { - "name": "remotejdk21_macos_toolchain_config_repo", - "generator_name": "remotejdk21_macos_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_win_toolchain_config_repo", + "generator_name": "remotejdk18_win_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_win//:jdk\",\n)\n", }, "repositories": [ { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", + "rule_class": "@bazel_tools//tools/jdk:remote_java_repository.bzl%_toolchain_config", "attributes": { - "name": "remotejdk21_macos_toolchain_config_repo", - "generator_name": "remotejdk21_macos_toolchain_config_repo", - "generator_function": "rules_java_dependencies", + "name": "remotejdk18_win_toolchain_config_repo", + "generator_name": "remotejdk18_win_toolchain_config_repo", + "generator_function": "maybe", "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\n", + "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_18\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"18\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk18_win//:jdk\",\n)\n", }, - "output_tree_hash": "434446eddb7f6a3dcc7a2a5330ed9ab26579c5142c19866b197475a695fbb32f", + "output_tree_hash": "0fbe406ef93edfa2dd63ecbec5eb91b55150360ebda0981365494b89015f6d4e", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remotejdk21_win", - "generator_name": "remotejdk21_win", - "generator_function": "rules_java_dependencies", + "name": "rules_java", + "generator_name": "rules_java", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-win_x64.zip", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-win_x64.zip", + "https://github.com/bazelbuild/rules_java/releases/download/5.5.1/rules_java-5.5.1.tar.gz", ], - "sha256": "fb9f0dc6a484b0b169b3b3a3c2425d5f62bebfd15cb06c1597e33f77959c72af", - "strip_prefix": "zulu21.34.19-ca-jdk21.0.3-win_x64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "73b88f34dc251bce7bc6c472eb386a6c2b312ed5b473c81fe46855c248f792e0", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-win_x64.zip", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.34.19-ca-jdk21.0.3-win_x64.zip", + "https://github.com/bazelbuild/rules_java/releases/download/5.5.1/rules_java-5.5.1.tar.gz", ], - "sha256": "fb9f0dc6a484b0b169b3b3a3c2425d5f62bebfd15cb06c1597e33f77959c72af", + "sha256": "73b88f34dc251bce7bc6c472eb386a6c2b312ed5b473c81fe46855c248f792e0", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "zulu21.34.19-ca-jdk21.0.3-win_x64", + "strip_prefix": "", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -3193,49 +2340,46 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "build_file_content": "", "workspace_file_content": "", - "name": "remotejdk21_win", + "name": "rules_java", }, - "output_tree_hash": "ebd44846a546e4d87a38a36e80426a64e38c744645c7b7002e1506374ce08a8f", + "output_tree_hash": "be23e9fc134c0d03298232e1e3d3f7b3fb5245cc1014f3c1ffb43550a0935fb0", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { - "name": "remotejdk21_win_arm64", - "generator_name": "remotejdk21_win_arm64", - "generator_function": "rules_java_dependencies", + "name": "rules_proto", + "generator_name": "rules_proto", + "generator_function": "maybe", "generator_location": None, "urls": [ - "https://aka.ms/download-jdk/microsoft-jdk-21.0.0-windows-aarch64.zip", - "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-21.0.0-windows-aarch64.zip", + "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", + "https://github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", ], - "sha256": "975603e684f2ec5a525b3b5336d6aa0b09b5b7d2d0d9e271bd6a9892ad550181", - "strip_prefix": "jdk-21+35", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "sha256": "8e7d59a5b12b233be5652e3d29f42fba01c7cbab09f6b3a8d0a57ed6d1e9a0da", + "strip_prefix": "rules_proto-7e4afce6fe62dbff0a4a03450143146f9f2d7488", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://aka.ms/download-jdk/microsoft-jdk-21.0.0-windows-aarch64.zip", - "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-21.0.0-windows-aarch64.zip", + "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", + "https://github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", ], - "sha256": "975603e684f2ec5a525b3b5336d6aa0b09b5b7d2d0d9e271bd6a9892ad550181", + "sha256": "8e7d59a5b12b233be5652e3d29f42fba01c7cbab09f6b3a8d0a57ed6d1e9a0da", "integrity": "", "netrc": "", "auth_patterns": {}, "canonical_id": "", - "strip_prefix": "jdk-21+35", + "strip_prefix": "rules_proto-7e4afce6fe62dbff0a4a03450143146f9f2d7488", "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -3244,105 +2388,59 @@ resolved = [ ], "patch_cmds": [], "patch_cmds_win": [], - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n\nfilegroup(\n name = \"jdk-jmods\",\n srcs = glob(\n [\"jmods/**\"],\n allow_empty = True,\n ),\n)\n\njava_runtime(\n name = \"jdk-with-jmods\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jdk-jmods\",\n \":jre\",\n ],\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", + "build_file_content": "", "workspace_file_content": "", - "name": "remotejdk21_win_arm64", - }, - "output_tree_hash": "63c3e143317daf73f6fe2cf1a58bd4c39901395f0067b01367ba0b8bebe0278a", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk21_win_arm64_toolchain_config_repo", - "generator_name": "remotejdk21_win_arm64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win_arm64//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk21_win_arm64_toolchain_config_repo", - "generator_name": "remotejdk21_win_arm64_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win_arm64//:jdk\",\n)\n", - }, - "output_tree_hash": "9bbdbb329eeba27bc482582360abc6e3351d9a9a07ee11cba3a0026c90223e85", - }, - ], - }, - { - "original_rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "original_attributes": { - "name": "remotejdk21_win_toolchain_config_repo", - "generator_name": "remotejdk21_win_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\n", - }, - "repositories": [ - { - "rule_class": "@@rules_java_builtin//toolchains:remote_java_repository.bzl%_toolchain_config", - "attributes": { - "name": "remotejdk21_win_toolchain_config_repo", - "generator_name": "remotejdk21_win_toolchain_config_repo", - "generator_function": "rules_java_dependencies", - "generator_location": None, - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\n", + "name": "rules_proto", }, - "output_tree_hash": "87012328b07a779503deec0ef47132a0de50efd69afe7df87619bcc07b1dc4ed", + "output_tree_hash": "949d4de46aa6da1c096c0c7d833e9495fa4775950870c8d844b7dba6e0e03a97", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_jar", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_jar", "original_attributes": { "name": "android_gmaven_r8", "generator_name": "android_gmaven_r8", "generator_function": "maybe", "generator_location": None, - "sha256": "59753e70a74f918389cc87f1b7d66b5c0862932559167425708ded159e3de439", - "url": "https://maven.google.com/com/android/tools/r8/8.3.37/r8-8.3.37.jar", + "sha256": "ab1379835c7d3e5f21f80347c3c81e2f762e0b9b02748ae5232c3afa14adf702", + "url": "https://maven.google.com/com/android/tools/r8/8.0.40/r8-8.0.40.jar", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_jar", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_jar", "attributes": { - "sha256": "59753e70a74f918389cc87f1b7d66b5c0862932559167425708ded159e3de439", + "sha256": "ab1379835c7d3e5f21f80347c3c81e2f762e0b9b02748ae5232c3afa14adf702", "integrity": "", "canonical_id": "", - "url": "https://maven.google.com/com/android/tools/r8/8.3.37/r8-8.3.37.jar", + "url": "https://maven.google.com/com/android/tools/r8/8.0.40/r8-8.0.40.jar", "urls": [], "netrc": "", "auth_patterns": {}, "downloaded_file_name": "downloaded.jar", "name": "android_gmaven_r8", }, - "output_tree_hash": "8c6ff865e2e808e33a87bbfdf7250900b0e4ca6506c42df54d1269ffd2b02e87", + "output_tree_hash": "6d2bb275486241ef218778709a01e133c28a34bb0da9ac1bb3647701617b980e", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { "name": "android_tools", "generator_name": "android_tools", "generator_function": "maybe", "generator_location": None, - "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.30.0.tar", - "sha256": "2b661a761a735b41c41b3a78089f4fc1982626c76ddb944604ae3ff8c545d3c2", + "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar", + "sha256": "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { - "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.30.0.tar", + "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar", "urls": [], - "sha256": "2b661a761a735b41c41b3a78089f4fc1982626c76ddb944604ae3ff8c545d3c2", + "sha256": "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b", "integrity": "", "netrc": "", "auth_patterns": {}, @@ -3351,8 +2449,6 @@ resolved = [ "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -3365,30 +2461,7 @@ resolved = [ "workspace_file_content": "", "name": "android_tools", }, - "output_tree_hash": "6c814e1bb5abe61ccdeb6e7102142a1a3df01204198912654193d5e6934faa55", - }, - ], - }, - { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:local.bzl%local_repository", - "original_attributes": { - "name": "internal_platforms_do_not_use", - "generator_name": "internal_platforms_do_not_use", - "generator_function": "maybe", - "generator_location": None, - "path": "/root/.cache/bazel/_bazel_root/install/ec66cb4ed623de0db7a7f89408b9b468/platforms", - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:local.bzl%local_repository", - "attributes": { - "name": "internal_platforms_do_not_use", - "generator_name": "internal_platforms_do_not_use", - "generator_function": "maybe", - "generator_location": None, - "path": "/root/.cache/bazel/_bazel_root/install/ec66cb4ed623de0db7a7f89408b9b468/platforms", - }, - "output_tree_hash": "db797f5ddb49595460e727f2c71af1b3adfed4d65132bbe31bd9d3a06bd95dba", + "output_tree_hash": "9759cc424627a764a3bda55cd3763b7d7dbbbec6a5b5deb172581d0d47f1cd17", }, ], }, @@ -3400,77 +2473,15 @@ resolved = [ "native": "local_config_platform(name = 'local_config_platform')", }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "local_repository", "original_attributes": { "name": "platforms", - "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.9/platforms-0.0.9.tar.gz", - ], - "integrity": "sha256-XtpTnIQSZQMcL4LYrno6ZJC9YhduDAOPxGnqv5H2FJs=", - "strip_prefix": "", - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - }, - "repositories": [ - { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "url": "", - "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.9/platforms-0.0.9.tar.gz", - ], - "sha256": "", - "integrity": "sha256-XtpTnIQSZQMcL4LYrno6ZJC9YhduDAOPxGnqv5H2FJs=", - "netrc": "", - "auth_patterns": {}, - "canonical_id": "", - "strip_prefix": "", - "add_prefix": "", - "type": "", - "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, - "remote_patches": {}, - "remote_patch_strip": 0, - "patch_tool": "", - "patch_args": [ - "-p0", - ], - "patch_cmds": [], - "patch_cmds_win": [], - "build_file_content": "", - "workspace_file_content": "", - "name": "platforms", - }, - "output_tree_hash": "567cadb959c1beeda065e093b6599dc3a3f7b8c41db40593f601b2c99830eb3d", - }, - ], - }, - { - "original_rule_class": "@@internal_platforms_do_not_use//host:extension.bzl%host_platform_repo", - "original_attributes": { - "name": "host_platform", - "generator_name": "host_platform", - "generator_function": "maybe", - "generator_location": None, + "path": "/root/.cache/bazel/_bazel_root/install/117cee491f5c7d83be6e3c6d6b5b8ca4/platforms", }, - "repositories": [ - { - "rule_class": "@@internal_platforms_do_not_use//host:extension.bzl%host_platform_repo", - "attributes": { - "name": "host_platform", - "generator_name": "host_platform", - "generator_function": "maybe", - "generator_location": None, - }, - "output_tree_hash": "7bb7732a410e479305fb8602fbfbe14a04e932eed9f8384852c03def646e87d5", - }, - ], + "native": "local_repository(name = \"platforms\", path = __embedded_dir__ + \"/\" + \"platforms\")", }, { - "original_rule_class": "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_autoconf", + "original_rule_class": "@bazel_tools//tools/cpp:cc_configure.bzl%cc_autoconf", "original_attributes": { "name": "local_config_cc", "generator_name": "local_config_cc", @@ -3479,19 +2490,19 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_autoconf", + "rule_class": "@bazel_tools//tools/cpp:cc_configure.bzl%cc_autoconf", "attributes": { "name": "local_config_cc", "generator_name": "local_config_cc", "generator_function": "cc_configure", "generator_location": None, }, - "output_tree_hash": "6492f4b5dbb6a0b2d0bc7e8979e9d88b33d9611ab27fcb6644d02a035e6c301e", + "output_tree_hash": "fcc69bfbd80678ef4769e7caf98f1d9a6e558521c1766c3babd184313d8ade5e", }, ], }, { - "original_rule_class": "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_autoconf_toolchains", + "original_rule_class": "@bazel_tools//tools/cpp:cc_configure.bzl%cc_autoconf_toolchains", "original_attributes": { "name": "local_config_cc_toolchains", "generator_name": "local_config_cc_toolchains", @@ -3500,7 +2511,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_autoconf_toolchains", + "rule_class": "@bazel_tools//tools/cpp:cc_configure.bzl%cc_autoconf_toolchains", "attributes": { "name": "local_config_cc_toolchains", "generator_name": "local_config_cc_toolchains", @@ -3512,7 +2523,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_tools//tools/osx:xcode_configure.bzl%xcode_autoconf", + "original_rule_class": "@bazel_tools//tools/osx:xcode_configure.bzl%xcode_autoconf", "original_attributes": { "name": "local_config_xcode", "generator_name": "local_config_xcode", @@ -3522,7 +2533,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/osx:xcode_configure.bzl%xcode_autoconf", + "rule_class": "@bazel_tools//tools/osx:xcode_configure.bzl%xcode_autoconf", "attributes": { "name": "local_config_xcode", "generator_name": "local_config_xcode", @@ -3535,7 +2546,7 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_tools//tools/sh:sh_configure.bzl%sh_config", + "original_rule_class": "@bazel_tools//tools/sh:sh_configure.bzl%sh_config", "original_attributes": { "name": "local_config_sh", "generator_name": "local_config_sh", @@ -3544,7 +2555,7 @@ resolved = [ }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/sh:sh_configure.bzl%sh_config", + "rule_class": "@bazel_tools//tools/sh:sh_configure.bzl%sh_config", "attributes": { "name": "local_config_sh", "generator_name": "local_config_sh", @@ -3556,26 +2567,28 @@ resolved = [ ], }, { - "original_rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "original_rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "original_attributes": { "name": "rules_license", "generator_name": "rules_license", "generator_function": "maybe", "generator_location": None, "urls": [ - "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz", + "https://github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz", ], - "sha256": "4531deccb913639c30e5c7512a054d5d875698daeb75d8cf90f284375fe7c360", + "sha256": "00ccc0df21312c127ac4b12880ab0f9a26c1cff99442dc6c5a331750360de3c3", }, "repositories": [ { - "rule_class": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "rule_class": "@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "url": "", "urls": [ - "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz", + "https://github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz", ], - "sha256": "4531deccb913639c30e5c7512a054d5d875698daeb75d8cf90f284375fe7c360", + "sha256": "00ccc0df21312c127ac4b12880ab0f9a26c1cff99442dc6c5a331750360de3c3", "integrity": "", "netrc": "", "auth_patterns": {}, @@ -3584,8 +2597,6 @@ resolved = [ "add_prefix": "", "type": "", "patches": [], - "remote_file_urls": {}, - "remote_file_integrity": {}, "remote_patches": {}, "remote_patch_strip": 0, "patch_tool": "", @@ -3598,7 +2609,7 @@ resolved = [ "workspace_file_content": "", "name": "rules_license", }, - "output_tree_hash": "387b52ddb659ca14fa5c4c415efd5125747238863bac4d972eeb411da9ec5582", + "output_tree_hash": "5dd374b45b4d89eef1fa4b5a00de823fa9666f84e7466c1714cea49102e2f1cd", }, ], }, @@ -3607,75 +2618,34 @@ resolved = [ "original_attributes": { "name": "//external/register_toolchains", "*args": [ - "//toolchains:all", "@local_jdk//:runtime_toolchain_definition", - "@local_jdk//:bootstrap_runtime_toolchain_definition", - "@remote_jdk8_linux_aarch64_toolchain_config_repo//:toolchain", - "@remote_jdk8_linux_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remote_jdk8_linux_toolchain_config_repo//:toolchain", - "@remote_jdk8_linux_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remote_jdk8_macos_aarch64_toolchain_config_repo//:toolchain", - "@remote_jdk8_macos_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remote_jdk8_macos_toolchain_config_repo//:toolchain", - "@remote_jdk8_macos_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remote_jdk8_windows_toolchain_config_repo//:toolchain", - "@remote_jdk8_windows_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remote_jdk8_linux_s390x_toolchain_config_repo//:toolchain", - "@remote_jdk8_linux_s390x_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk11_linux_aarch64_toolchain_config_repo//:toolchain", - "@remotejdk11_linux_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain", "@remotejdk11_linux_toolchain_config_repo//:toolchain", - "@remotejdk11_linux_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk11_macos_aarch64_toolchain_config_repo//:toolchain", - "@remotejdk11_macos_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk11_macos_toolchain_config_repo//:toolchain", - "@remotejdk11_macos_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk11_win_toolchain_config_repo//:toolchain", - "@remotejdk11_win_toolchain_config_repo//:bootstrap_runtime_toolchain", + "@remotejdk11_linux_aarch64_toolchain_config_repo//:toolchain", "@remotejdk11_linux_ppc64le_toolchain_config_repo//:toolchain", - "@remotejdk11_linux_ppc64le_toolchain_config_repo//:bootstrap_runtime_toolchain", "@remotejdk11_linux_s390x_toolchain_config_repo//:toolchain", - "@remotejdk11_linux_s390x_toolchain_config_repo//:bootstrap_runtime_toolchain", + "@remotejdk11_macos_toolchain_config_repo//:toolchain", + "@remotejdk11_macos_aarch64_toolchain_config_repo//:toolchain", + "@remotejdk11_win_toolchain_config_repo//:toolchain", "@remotejdk11_win_arm64_toolchain_config_repo//:toolchain", - "@remotejdk11_win_arm64_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk17_linux_aarch64_toolchain_config_repo//:toolchain", - "@remotejdk17_linux_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain", "@remotejdk17_linux_toolchain_config_repo//:toolchain", - "@remotejdk17_linux_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk17_macos_aarch64_toolchain_config_repo//:toolchain", - "@remotejdk17_macos_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain", + "@remotejdk17_linux_aarch64_toolchain_config_repo//:toolchain", "@remotejdk17_macos_toolchain_config_repo//:toolchain", - "@remotejdk17_macos_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk17_win_arm64_toolchain_config_repo//:toolchain", - "@remotejdk17_win_arm64_toolchain_config_repo//:bootstrap_runtime_toolchain", + "@remotejdk17_macos_aarch64_toolchain_config_repo//:toolchain", "@remotejdk17_win_toolchain_config_repo//:toolchain", - "@remotejdk17_win_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk17_linux_ppc64le_toolchain_config_repo//:toolchain", - "@remotejdk17_linux_ppc64le_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk17_linux_s390x_toolchain_config_repo//:toolchain", - "@remotejdk17_linux_s390x_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk21_linux_aarch64_toolchain_config_repo//:toolchain", - "@remotejdk21_linux_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk21_linux_toolchain_config_repo//:toolchain", - "@remotejdk21_linux_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk21_macos_aarch64_toolchain_config_repo//:toolchain", - "@remotejdk21_macos_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk21_macos_toolchain_config_repo//:toolchain", - "@remotejdk21_macos_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk21_win_toolchain_config_repo//:toolchain", - "@remotejdk21_win_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk21_linux_ppc64le_toolchain_config_repo//:toolchain", - "@remotejdk21_linux_ppc64le_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk21_linux_s390x_toolchain_config_repo//:toolchain", - "@remotejdk21_linux_s390x_toolchain_config_repo//:bootstrap_runtime_toolchain", - "@remotejdk21_win_arm64_toolchain_config_repo//:toolchain", - "@remotejdk21_win_arm64_toolchain_config_repo//:bootstrap_runtime_toolchain", + "@remotejdk17_win_arm64_toolchain_config_repo//:toolchain", + "@remotejdk18_linux_toolchain_config_repo//:toolchain", + "@remotejdk18_linux_aarch64_toolchain_config_repo//:toolchain", + "@remotejdk18_macos_toolchain_config_repo//:toolchain", + "@remotejdk18_macos_aarch64_toolchain_config_repo//:toolchain", + "@remotejdk18_win_toolchain_config_repo//:toolchain", + "@remotejdk18_win_arm64_toolchain_config_repo//:toolchain", + "@bazel_tools//tools/jdk:all", "@bazel_tools//tools/python:autodetecting_toolchain", "@local_config_cc_toolchains//:all", "@local_config_sh//:local_sh_toolchain", ], }, - "native": "register_toolchains(\"//toolchains:all\", \"@local_jdk//:runtime_toolchain_definition\", \"@local_jdk//:bootstrap_runtime_toolchain_definition\", \"@remote_jdk8_linux_aarch64_toolchain_config_repo//:toolchain\", \"@remote_jdk8_linux_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remote_jdk8_linux_toolchain_config_repo//:toolchain\", \"@remote_jdk8_linux_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remote_jdk8_macos_aarch64_toolchain_config_repo//:toolchain\", \"@remote_jdk8_macos_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remote_jdk8_macos_toolchain_config_repo//:toolchain\", \"@remote_jdk8_macos_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remote_jdk8_windows_toolchain_config_repo//:toolchain\", \"@remote_jdk8_windows_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remote_jdk8_linux_s390x_toolchain_config_repo//:toolchain\", \"@remote_jdk8_linux_s390x_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk11_linux_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk11_linux_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk11_linux_toolchain_config_repo//:toolchain\", \"@remotejdk11_linux_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk11_macos_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk11_macos_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk11_macos_toolchain_config_repo//:toolchain\", \"@remotejdk11_macos_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk11_win_toolchain_config_repo//:toolchain\", \"@remotejdk11_win_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk11_linux_ppc64le_toolchain_config_repo//:toolchain\", \"@remotejdk11_linux_ppc64le_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk11_linux_s390x_toolchain_config_repo//:toolchain\", \"@remotejdk11_linux_s390x_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk11_win_arm64_toolchain_config_repo//:toolchain\", \"@remotejdk11_win_arm64_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk17_linux_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk17_linux_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk17_linux_toolchain_config_repo//:toolchain\", \"@remotejdk17_linux_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk17_macos_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk17_macos_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk17_macos_toolchain_config_repo//:toolchain\", \"@remotejdk17_macos_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk17_win_arm64_toolchain_config_repo//:toolchain\", \"@remotejdk17_win_arm64_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk17_win_toolchain_config_repo//:toolchain\", \"@remotejdk17_win_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk17_linux_ppc64le_toolchain_config_repo//:toolchain\", \"@remotejdk17_linux_ppc64le_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk17_linux_s390x_toolchain_config_repo//:toolchain\", \"@remotejdk17_linux_s390x_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk21_linux_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk21_linux_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk21_linux_toolchain_config_repo//:toolchain\", \"@remotejdk21_linux_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk21_macos_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk21_macos_aarch64_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk21_macos_toolchain_config_repo//:toolchain\", \"@remotejdk21_macos_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk21_win_toolchain_config_repo//:toolchain\", \"@remotejdk21_win_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk21_linux_ppc64le_toolchain_config_repo//:toolchain\", \"@remotejdk21_linux_ppc64le_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk21_linux_s390x_toolchain_config_repo//:toolchain\", \"@remotejdk21_linux_s390x_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@remotejdk21_win_arm64_toolchain_config_repo//:toolchain\", \"@remotejdk21_win_arm64_toolchain_config_repo//:bootstrap_runtime_toolchain\", \"@bazel_tools//tools/python:autodetecting_toolchain\", \"@local_config_cc_toolchains//:all\", \"@local_config_sh//:local_sh_toolchain\")", + "native": "register_toolchains(\"@local_jdk//:runtime_toolchain_definition\", \"@remotejdk11_linux_toolchain_config_repo//:toolchain\", \"@remotejdk11_linux_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk11_linux_ppc64le_toolchain_config_repo//:toolchain\", \"@remotejdk11_linux_s390x_toolchain_config_repo//:toolchain\", \"@remotejdk11_macos_toolchain_config_repo//:toolchain\", \"@remotejdk11_macos_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk11_win_toolchain_config_repo//:toolchain\", \"@remotejdk11_win_arm64_toolchain_config_repo//:toolchain\", \"@remotejdk17_linux_toolchain_config_repo//:toolchain\", \"@remotejdk17_linux_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk17_macos_toolchain_config_repo//:toolchain\", \"@remotejdk17_macos_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk17_win_toolchain_config_repo//:toolchain\", \"@remotejdk17_win_arm64_toolchain_config_repo//:toolchain\", \"@remotejdk18_linux_toolchain_config_repo//:toolchain\", \"@remotejdk18_linux_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk18_macos_toolchain_config_repo//:toolchain\", \"@remotejdk18_macos_aarch64_toolchain_config_repo//:toolchain\", \"@remotejdk18_win_toolchain_config_repo//:toolchain\", \"@remotejdk18_win_arm64_toolchain_config_repo//:toolchain\", \"@bazel_tools//tools/jdk:all\", \"@bazel_tools//tools/python:autodetecting_toolchain\", \"@local_config_cc_toolchains//:all\", \"@local_config_sh//:local_sh_toolchain\")", }, { "original_rule_class": "register_execution_platforms",