aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo List <ilist@google.com>2024-02-12 16:09:10 +0100
committerIvo List <ilist@google.com>2024-02-12 16:09:10 +0100
commit40220635a154e18b40be876f4d1a89b118f1cbe2 (patch)
tree187e18ea026e096055e5d575be06399341c9cd6c
parent25c8af9d56980df7732b2f8639c5d43ef878a6f7 (diff)
parentd3ac22231ad7b9ad11d72d0325fd1324bc6d5d76 (diff)
downloadbazelbuild-rules-proto-40220635a154e18b40be876f4d1a89b118f1cbe2.tar.gz
Merge pull request #189 from aspect-forks:push_tag
PiperOrigin-RevId: 578883540
-rw-r--r--MODULE.bazel4
-rw-r--r--MODULE.bazel.lock1591
-rw-r--r--WORKSPACE8
-rw-r--r--dev_deps.bzl8
-rw-r--r--proto/private/rules/BUILD1
-rw-r--r--proto/private/rules/proto_toolchain_rule.bzl12
-rw-r--r--proto/proto_common.bzl30
-rw-r--r--proto/repositories.bzl14
-rw-r--r--proto/toolchains.bzl21
-rw-r--r--tests/BUILD14
-rw-r--r--tests/proto_common/BUILD.bazel3
-rw-r--r--tests/proto_common/toolchains.bzl51
12 files changed, 13 insertions, 1744 deletions
diff --git a/MODULE.bazel b/MODULE.bazel
index 618f9ac..f34579f 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -9,11 +9,9 @@ module(
bazel_dep(name = "rules_license", version = "0.0.7")
bazel_dep(name = "bazel_skylib", version = "1.3.0")
-bazel_dep(name = "bazel_features", version = "1.2.0")
# Dependencies needed in tests
bazel_dep(name = "stardoc", version = "0.5.6", dev_dependency = True, repo_name = "io_bazel_stardoc")
bazel_dep(name = "rules_cc", version = "0.0.1", dev_dependency = True)
bazel_dep(name = "googletest", version = "1.11.0", dev_dependency = True, repo_name = "com_google_googletest")
-bazel_dep(name = "protobuf", version = "23.1", dev_dependency = True, repo_name = "com_google_protobuf")
-bazel_dep(name = "platforms", version = "0.0.8", dev_dependency = True)
+bazel_dep(name = "protobuf", version = "21.7", dev_dependency = True, repo_name = "com_google_protobuf")
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock
deleted file mode 100644
index 4369309..0000000
--- a/MODULE.bazel.lock
+++ /dev/null
@@ -1,1591 +0,0 @@
-{
- "lockFileVersion": 3,
- "moduleFileHash": "d75c4280d894f656a3d4464363dabcd953079702253fce25f07ee435ed41f635",
- "flags": {
- "cmdRegistries": [
- "https://bcr.bazel.build/"
- ],
- "cmdModuleOverrides": {},
- "allowedYankedVersions": [],
- "envVarAllowedYankedVersions": "",
- "ignoreDevDependency": false,
- "directDependenciesMode": "WARNING",
- "compatibilityMode": "ERROR"
- },
- "localOverrideHashes": {
- "bazel_tools": "922ea6752dc9105de5af957f7a99a6933c0a6a712d23df6aad16a9c399f7e787"
- },
- "moduleDepGraph": {
- "<root>": {
- "name": "rules_proto",
- "version": "0.0.0",
- "key": "<root>",
- "repoName": "rules_proto",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "rules_license": "rules_license@0.0.7",
- "bazel_skylib": "bazel_skylib@1.3.0",
- "bazel_features": "bazel_features@1.2.0",
- "io_bazel_stardoc": "stardoc@0.5.6",
- "rules_cc": "rules_cc@0.0.9",
- "com_google_googletest": "googletest@1.11.0",
- "com_google_protobuf": "protobuf@21.7",
- "platforms": "platforms@0.0.8",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- }
- },
- "rules_license@0.0.7": {
- "name": "rules_license",
- "version": "0.0.7",
- "key": "rules_license@0.0.7",
- "repoName": "rules_license",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_license~0.0.7",
- "urls": [
- "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz"
- ],
- "integrity": "sha256-RTHezLkTY5ww5cdRKgVNXYdWmNrrddjPkPKEN1/nw2A=",
- "strip_prefix": "",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "bazel_skylib@1.3.0": {
- "name": "bazel_skylib",
- "version": "1.3.0",
- "key": "bazel_skylib@1.3.0",
- "repoName": "bazel_skylib",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "//toolchains/unittest:cmd_toolchain",
- "//toolchains/unittest:bash_toolchain"
- ],
- "extensionUsages": [],
- "deps": {
- "platforms": "platforms@0.0.8",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "bazel_skylib~1.3.0",
- "urls": [
- "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz"
- ],
- "integrity": "sha256-dNVE2W9KW7Yw1GXKi7z+Ix41lOWq5X4e2/F6brPKJQY=",
- "strip_prefix": "",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "bazel_features@1.2.0": {
- "name": "bazel_features",
- "version": "1.2.0",
- "key": "bazel_features@1.2.0",
- "repoName": "bazel_features",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [
- {
- "extensionBzlFile": "@bazel_features//private:extensions.bzl",
- "extensionName": "version_extension",
- "usingModule": "bazel_features@1.2.0",
- "location": {
- "file": "https://bcr.bazel.build/modules/bazel_features/1.2.0/MODULE.bazel",
- "line": 6,
- "column": 24
- },
- "imports": {
- "bazel_features_globals": "bazel_features_globals",
- "bazel_features_version": "bazel_features_version"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "bazel_features~1.2.0",
- "urls": [
- "https://github.com/bazel-contrib/bazel_features/releases/download/v1.2.0/bazel_features-v1.2.0.tar.gz"
- ],
- "integrity": "sha256-uHicg8iT1+8wQdPyeVd0k2sn/2FwGnBd9S/UHW3b9pI=",
- "strip_prefix": "bazel_features-1.2.0",
- "remote_patches": {
- "https://bcr.bazel.build/modules/bazel_features/1.2.0/patches/module_dot_bazel_version.patch": "sha256-B0rNFSA7VB65YY95ORkzTgsn21RkUwlAb1Xy2y2PyXA="
- },
- "remote_patch_strip": 1
- }
- }
- },
- "stardoc@0.5.6": {
- "name": "stardoc",
- "version": "0.5.6",
- "key": "stardoc@0.5.6",
- "repoName": "stardoc",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "bazel_skylib": "bazel_skylib@1.3.0",
- "rules_java": "rules_java@7.1.0",
- "rules_license": "rules_license@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "stardoc~0.5.6",
- "urls": [
- "https://github.com/bazelbuild/stardoc/releases/download/0.5.6/stardoc-0.5.6.tar.gz"
- ],
- "integrity": "sha256-37w2Sq7BQ99ebFL68fEWZ3WltECCQ/RF9EtmHP3DE08=",
- "strip_prefix": "",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "rules_cc@0.0.9": {
- "name": "rules_cc",
- "version": "0.0.9",
- "key": "rules_cc@0.0.9",
- "repoName": "rules_cc",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "@local_config_cc_toolchains//:all"
- ],
- "extensionUsages": [
- {
- "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl",
- "extensionName": "cc_configure_extension",
- "usingModule": "rules_cc@0.0.9",
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel",
- "line": 9,
- "column": 29
- },
- "imports": {
- "local_config_cc_toolchains": "local_config_cc_toolchains"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "platforms": "platforms@0.0.8",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_cc~0.0.9",
- "urls": [
- "https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz"
- ],
- "integrity": "sha256-IDeHW5pEVtzkp50RKorohbvEqtlo5lh9ym5k86CQDN8=",
- "strip_prefix": "rules_cc-0.0.9",
- "remote_patches": {
- "https://bcr.bazel.build/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch": "sha256-mM+qzOI0SgAdaJBlWOSMwMPKpaA9b7R37Hj/tp5bb4g="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "googletest@1.11.0": {
- "name": "googletest",
- "version": "1.11.0",
- "key": "googletest@1.11.0",
- "repoName": "googletest",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "com_google_absl": "abseil-cpp@20211102.0",
- "platforms": "platforms@0.0.8",
- "rules_cc": "rules_cc@0.0.9",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "googletest~1.11.0",
- "urls": [
- "https://github.com/google/googletest/archive/refs/tags/release-1.11.0.tar.gz"
- ],
- "integrity": "sha256-tIcL8SH/d5W6INILzdhie44Ijy0dqymaAxwQNO3ck9U=",
- "strip_prefix": "googletest-release-1.11.0",
- "remote_patches": {
- "https://bcr.bazel.build/modules/googletest/1.11.0/patches/module_dot_bazel.patch": "sha256-HuahEdI/n8KCI071sN3CEziX+7qP/Ec77IWayYunLP0="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "protobuf@21.7": {
- "name": "protobuf",
- "version": "21.7",
- "key": "protobuf@21.7",
- "repoName": "protobuf",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [
- {
- "extensionBzlFile": "@rules_jvm_external//:extensions.bzl",
- "extensionName": "maven",
- "usingModule": "protobuf@21.7",
- "location": {
- "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel",
- "line": 22,
- "column": 22
- },
- "imports": {
- "maven": "maven"
- },
- "devImports": [],
- "tags": [
- {
- "tagName": "install",
- "attributeValues": {
- "name": "maven",
- "artifacts": [
- "com.google.code.findbugs:jsr305:3.0.2",
- "com.google.code.gson:gson:2.8.9",
- "com.google.errorprone:error_prone_annotations:2.3.2",
- "com.google.j2objc:j2objc-annotations:1.3",
- "com.google.guava:guava:31.1-jre",
- "com.google.guava:guava-testlib:31.1-jre",
- "com.google.truth:truth:1.1.2",
- "junit:junit:4.13.2",
- "org.mockito:mockito-core:4.3.1"
- ]
- },
- "devDependency": false,
- "location": {
- "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel",
- "line": 24,
- "column": 14
- }
- }
- ],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "bazel_skylib": "bazel_skylib@1.3.0",
- "rules_python": "rules_python@0.10.2",
- "rules_cc": "rules_cc@0.0.9",
- "rules_proto": "<root>",
- "rules_java": "rules_java@7.1.0",
- "rules_pkg": "rules_pkg@0.7.0",
- "com_google_abseil": "abseil-cpp@20211102.0",
- "zlib": "zlib@1.3",
- "upb": "upb@0.0.0-20220923-a547704",
- "rules_jvm_external": "rules_jvm_external@4.4.2",
- "com_google_googletest": "googletest@1.11.0",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "protobuf~21.7",
- "urls": [
- "https://github.com/protocolbuffers/protobuf/releases/download/v21.7/protobuf-all-21.7.zip"
- ],
- "integrity": "sha256-VJOiH17T/FAuZv7GuUScBqVRztYwAvpIkDxA36jeeko=",
- "strip_prefix": "protobuf-21.7",
- "remote_patches": {
- "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel.patch": "sha256-q3V2+eq0v2XF0z8z+V+QF4cynD6JvHI1y3kI/+rzl5s=",
- "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel_for_examples.patch": "sha256-O7YP6s3lo/1opUiO0jqXYORNHdZ/2q3hjz1QGy8QdIU=",
- "https://bcr.bazel.build/modules/protobuf/21.7/patches/relative_repo_names.patch": "sha256-RK9RjW8T5UJNG7flIrnFiNE9vKwWB+8uWWtJqXYT0w4=",
- "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_missing_files.patch": "sha256-Hyne4DG2u5bXcWHNxNMirA2QFAe/2Cl8oMm1XJdkQIY="
- },
- "remote_patch_strip": 1
- }
- }
- },
- "platforms@0.0.8": {
- "name": "platforms",
- "version": "0.0.8",
- "key": "platforms@0.0.8",
- "repoName": "platforms",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "rules_license": "rules_license@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "platforms",
- "urls": [
- "https://github.com/bazelbuild/platforms/releases/download/0.0.8/platforms-0.0.8.tar.gz"
- ],
- "integrity": "sha256-gVBAZgU4ns7LbaB8vLUJ1WN6OrmiS8abEQFTE2fYnXQ=",
- "strip_prefix": "",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "bazel_tools@_": {
- "name": "bazel_tools",
- "version": "",
- "key": "bazel_tools@_",
- "repoName": "bazel_tools",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "@local_config_cc_toolchains//:all",
- "@local_config_sh//:local_sh_toolchain"
- ],
- "extensionUsages": [
- {
- "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl",
- "extensionName": "cc_configure_extension",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 17,
- "column": 29
- },
- "imports": {
- "local_config_cc": "local_config_cc",
- "local_config_cc_toolchains": "local_config_cc_toolchains"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@bazel_tools//tools/osx:xcode_configure.bzl",
- "extensionName": "xcode_configure_extension",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 21,
- "column": 32
- },
- "imports": {
- "local_config_xcode": "local_config_xcode"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@rules_java//java:extensions.bzl",
- "extensionName": "toolchains",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 24,
- "column": 32
- },
- "imports": {
- "local_jdk": "local_jdk",
- "remote_java_tools": "remote_java_tools",
- "remote_java_tools_linux": "remote_java_tools_linux",
- "remote_java_tools_windows": "remote_java_tools_windows",
- "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64",
- "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@bazel_tools//tools/sh:sh_configure.bzl",
- "extensionName": "sh_configure_extension",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 35,
- "column": 39
- },
- "imports": {
- "local_config_sh": "local_config_sh"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@bazel_tools//tools/test:extensions.bzl",
- "extensionName": "remote_coverage_tools_extension",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 39,
- "column": 48
- },
- "imports": {
- "remote_coverage_tools": "remote_coverage_tools"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": "@bazel_tools//tools/android:android_extensions.bzl",
- "extensionName": "remote_android_tools_extensions",
- "usingModule": "bazel_tools@_",
- "location": {
- "file": "@@bazel_tools//:MODULE.bazel",
- "line": 42,
- "column": 42
- },
- "imports": {
- "android_gmaven_r8": "android_gmaven_r8",
- "android_tools": "android_tools"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "rules_cc": "rules_cc@0.0.9",
- "rules_java": "rules_java@7.1.0",
- "rules_license": "rules_license@0.0.7",
- "rules_proto": "<root>",
- "rules_python": "rules_python@0.10.2",
- "platforms": "platforms@0.0.8",
- "com_google_protobuf": "protobuf@21.7",
- "zlib": "zlib@1.3",
- "build_bazel_apple_support": "apple_support@1.5.0",
- "local_config_platform": "local_config_platform@_"
- }
- },
- "local_config_platform@_": {
- "name": "local_config_platform",
- "version": "",
- "key": "local_config_platform@_",
- "repoName": "local_config_platform",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "platforms": "platforms@0.0.8",
- "bazel_tools": "bazel_tools@_"
- }
- },
- "rules_java@7.1.0": {
- "name": "rules_java",
- "version": "7.1.0",
- "key": "rules_java@7.1.0",
- "repoName": "rules_java",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "//toolchains:all",
- "@local_jdk//:runtime_toolchain_definition",
- "@local_jdk//:bootstrap_runtime_toolchain_definition",
- "@remotejdk11_linux_toolchain_config_repo//:all",
- "@remotejdk11_linux_aarch64_toolchain_config_repo//:all",
- "@remotejdk11_linux_ppc64le_toolchain_config_repo//:all",
- "@remotejdk11_linux_s390x_toolchain_config_repo//:all",
- "@remotejdk11_macos_toolchain_config_repo//:all",
- "@remotejdk11_macos_aarch64_toolchain_config_repo//:all",
- "@remotejdk11_win_toolchain_config_repo//:all",
- "@remotejdk11_win_arm64_toolchain_config_repo//:all",
- "@remotejdk17_linux_toolchain_config_repo//:all",
- "@remotejdk17_linux_aarch64_toolchain_config_repo//:all",
- "@remotejdk17_linux_ppc64le_toolchain_config_repo//:all",
- "@remotejdk17_linux_s390x_toolchain_config_repo//:all",
- "@remotejdk17_macos_toolchain_config_repo//:all",
- "@remotejdk17_macos_aarch64_toolchain_config_repo//:all",
- "@remotejdk17_win_toolchain_config_repo//:all",
- "@remotejdk17_win_arm64_toolchain_config_repo//:all",
- "@remotejdk21_linux_toolchain_config_repo//:all",
- "@remotejdk21_linux_aarch64_toolchain_config_repo//:all",
- "@remotejdk21_macos_toolchain_config_repo//:all",
- "@remotejdk21_macos_aarch64_toolchain_config_repo//:all",
- "@remotejdk21_win_toolchain_config_repo//:all"
- ],
- "extensionUsages": [
- {
- "extensionBzlFile": "@rules_java//java:extensions.bzl",
- "extensionName": "toolchains",
- "usingModule": "rules_java@7.1.0",
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_java/7.1.0/MODULE.bazel",
- "line": 19,
- "column": 27
- },
- "imports": {
- "remote_java_tools": "remote_java_tools",
- "remote_java_tools_linux": "remote_java_tools_linux",
- "remote_java_tools_windows": "remote_java_tools_windows",
- "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64",
- "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64",
- "local_jdk": "local_jdk",
- "remotejdk11_linux_toolchain_config_repo": "remotejdk11_linux_toolchain_config_repo",
- "remotejdk11_linux_aarch64_toolchain_config_repo": "remotejdk11_linux_aarch64_toolchain_config_repo",
- "remotejdk11_linux_ppc64le_toolchain_config_repo": "remotejdk11_linux_ppc64le_toolchain_config_repo",
- "remotejdk11_linux_s390x_toolchain_config_repo": "remotejdk11_linux_s390x_toolchain_config_repo",
- "remotejdk11_macos_toolchain_config_repo": "remotejdk11_macos_toolchain_config_repo",
- "remotejdk11_macos_aarch64_toolchain_config_repo": "remotejdk11_macos_aarch64_toolchain_config_repo",
- "remotejdk11_win_toolchain_config_repo": "remotejdk11_win_toolchain_config_repo",
- "remotejdk11_win_arm64_toolchain_config_repo": "remotejdk11_win_arm64_toolchain_config_repo",
- "remotejdk17_linux_toolchain_config_repo": "remotejdk17_linux_toolchain_config_repo",
- "remotejdk17_linux_aarch64_toolchain_config_repo": "remotejdk17_linux_aarch64_toolchain_config_repo",
- "remotejdk17_linux_ppc64le_toolchain_config_repo": "remotejdk17_linux_ppc64le_toolchain_config_repo",
- "remotejdk17_linux_s390x_toolchain_config_repo": "remotejdk17_linux_s390x_toolchain_config_repo",
- "remotejdk17_macos_toolchain_config_repo": "remotejdk17_macos_toolchain_config_repo",
- "remotejdk17_macos_aarch64_toolchain_config_repo": "remotejdk17_macos_aarch64_toolchain_config_repo",
- "remotejdk17_win_toolchain_config_repo": "remotejdk17_win_toolchain_config_repo",
- "remotejdk17_win_arm64_toolchain_config_repo": "remotejdk17_win_arm64_toolchain_config_repo",
- "remotejdk21_linux_toolchain_config_repo": "remotejdk21_linux_toolchain_config_repo",
- "remotejdk21_linux_aarch64_toolchain_config_repo": "remotejdk21_linux_aarch64_toolchain_config_repo",
- "remotejdk21_macos_toolchain_config_repo": "remotejdk21_macos_toolchain_config_repo",
- "remotejdk21_macos_aarch64_toolchain_config_repo": "remotejdk21_macos_aarch64_toolchain_config_repo",
- "remotejdk21_win_toolchain_config_repo": "remotejdk21_win_toolchain_config_repo"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "platforms": "platforms@0.0.8",
- "rules_cc": "rules_cc@0.0.9",
- "bazel_skylib": "bazel_skylib@1.3.0",
- "rules_proto": "<root>",
- "rules_license": "rules_license@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0",
- "urls": [
- "https://github.com/bazelbuild/rules_java/releases/download/7.1.0/rules_java-7.1.0.tar.gz"
- ],
- "integrity": "sha256-o3pOX2OrgnFuXdau75iO2EYcegC46TYnImKJn1h81OE=",
- "strip_prefix": "",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "abseil-cpp@20211102.0": {
- "name": "abseil-cpp",
- "version": "20211102.0",
- "key": "abseil-cpp@20211102.0",
- "repoName": "abseil-cpp",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "rules_cc": "rules_cc@0.0.9",
- "platforms": "platforms@0.0.8",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "abseil-cpp~20211102.0",
- "urls": [
- "https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz"
- ],
- "integrity": "sha256-3PcbnLqNwMqZQMSzFqDHlr6Pq0KwcLtrfKtitI8OZsQ=",
- "strip_prefix": "abseil-cpp-20211102.0",
- "remote_patches": {
- "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/patches/module_dot_bazel.patch": "sha256-4izqopgGCey4jVZzl/w3M2GVPNohjh2B5TmbThZNvPY="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "rules_python@0.10.2": {
- "name": "rules_python",
- "version": "0.10.2",
- "key": "rules_python@0.10.2",
- "repoName": "rules_python",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "@bazel_tools//tools/python:autodetecting_toolchain"
- ],
- "extensionUsages": [
- {
- "extensionBzlFile": "@rules_python//python:extensions.bzl",
- "extensionName": "pip_install",
- "usingModule": "rules_python@0.10.2",
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel",
- "line": 7,
- "column": 28
- },
- "imports": {
- "pypi__click": "pypi__click",
- "pypi__colorama": "pypi__colorama",
- "pypi__installer": "pypi__installer",
- "pypi__pep517": "pypi__pep517",
- "pypi__pip": "pypi__pip",
- "pypi__pip_tools": "pypi__pip_tools",
- "pypi__setuptools": "pypi__setuptools",
- "pypi__tomli": "pypi__tomli",
- "pypi__wheel": "pypi__wheel"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_python~0.10.2",
- "urls": [
- "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.10.2.tar.gz"
- ],
- "integrity": "sha256-o6bpn0l74In4HsCCiC5AJGv9Q19S9OgvN+iUSbBFc/Y=",
- "strip_prefix": "rules_python-0.10.2",
- "remote_patches": {
- "https://bcr.bazel.build/modules/rules_python/0.10.2/patches/module_dot_bazel.patch": "sha256-TScILAmXmmMtjJIwhLrgNZgqGPs6G3OAzXaLXLDNFrA="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "rules_pkg@0.7.0": {
- "name": "rules_pkg",
- "version": "0.7.0",
- "key": "rules_pkg@0.7.0",
- "repoName": "rules_pkg",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "rules_python": "rules_python@0.10.2",
- "bazel_skylib": "bazel_skylib@1.3.0",
- "rules_license": "rules_license@0.0.7",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_pkg~0.7.0",
- "urls": [
- "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz"
- ],
- "integrity": "sha256-iimOgydi7aGDBZfWT+fbWBeKqEzVkm121bdE1lWJQcI=",
- "strip_prefix": "",
- "remote_patches": {
- "https://bcr.bazel.build/modules/rules_pkg/0.7.0/patches/module_dot_bazel.patch": "sha256-4OaEPZwYF6iC71ZTDg6MJ7LLqX7ZA0/kK4mT+4xKqiE="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "zlib@1.3": {
- "name": "zlib",
- "version": "1.3",
- "key": "zlib@1.3",
- "repoName": "zlib",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "platforms": "platforms@0.0.8",
- "rules_cc": "rules_cc@0.0.9",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "zlib~1.3",
- "urls": [
- "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz"
- ],
- "integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=",
- "strip_prefix": "zlib-1.3",
- "remote_patches": {
- "https://bcr.bazel.build/modules/zlib/1.3/patches/add_build_file.patch": "sha256-Ei+FYaaOo7A3jTKunMEodTI0Uw5NXQyZEcboMC8JskY=",
- "https://bcr.bazel.build/modules/zlib/1.3/patches/module_dot_bazel.patch": "sha256-fPWLM+2xaF/kuy+kZc1YTfW6hNjrkG400Ho7gckuyJk="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "upb@0.0.0-20220923-a547704": {
- "name": "upb",
- "version": "0.0.0-20220923-a547704",
- "key": "upb@0.0.0-20220923-a547704",
- "repoName": "upb",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [],
- "deps": {
- "bazel_skylib": "bazel_skylib@1.3.0",
- "rules_proto": "<root>",
- "com_google_protobuf": "protobuf@21.7",
- "com_google_absl": "abseil-cpp@20211102.0",
- "platforms": "platforms@0.0.8",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "upb~0.0.0-20220923-a547704",
- "urls": [
- "https://github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz"
- ],
- "integrity": "sha256-z39x6v+QskwaKLSWRan/A6mmwecTQpHOcJActj5zZLU=",
- "strip_prefix": "upb-a5477045acaa34586420942098f5fecd3570f577",
- "remote_patches": {
- "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/patches/module_dot_bazel.patch": "sha256-wH4mNS6ZYy+8uC0HoAft/c7SDsq2Kxf+J8dUakXhaB0="
- },
- "remote_patch_strip": 0
- }
- }
- },
- "rules_jvm_external@4.4.2": {
- "name": "rules_jvm_external",
- "version": "4.4.2",
- "key": "rules_jvm_external@4.4.2",
- "repoName": "rules_jvm_external",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [],
- "extensionUsages": [
- {
- "extensionBzlFile": "@rules_jvm_external//:non-module-deps.bzl",
- "extensionName": "non_module_deps",
- "usingModule": "rules_jvm_external@4.4.2",
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel",
- "line": 9,
- "column": 32
- },
- "imports": {
- "io_bazel_rules_kotlin": "io_bazel_rules_kotlin"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- },
- {
- "extensionBzlFile": ":extensions.bzl",
- "extensionName": "maven",
- "usingModule": "rules_jvm_external@4.4.2",
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel",
- "line": 16,
- "column": 22
- },
- "imports": {
- "rules_jvm_external_deps": "rules_jvm_external_deps"
- },
- "devImports": [],
- "tags": [
- {
- "tagName": "install",
- "attributeValues": {
- "name": "rules_jvm_external_deps",
- "artifacts": [
- "com.google.cloud:google-cloud-core:1.93.10",
- "com.google.cloud:google-cloud-storage:1.113.4",
- "com.google.code.gson:gson:2.9.0",
- "org.apache.maven:maven-artifact:3.8.6",
- "software.amazon.awssdk:s3:2.17.183"
- ],
- "lock_file": "@rules_jvm_external//:rules_jvm_external_deps_install.json"
- },
- "devDependency": false,
- "location": {
- "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel",
- "line": 18,
- "column": 14
- }
- }
- ],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "bazel_skylib": "bazel_skylib@1.3.0",
- "io_bazel_stardoc": "stardoc@0.5.6",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_jvm_external~4.4.2",
- "urls": [
- "https://github.com/bazelbuild/rules_jvm_external/archive/refs/tags/4.4.2.zip"
- ],
- "integrity": "sha256-c1YC9QgT6y6pPKP15DsZWb2AshO4NqB6YqKddXZwt3s=",
- "strip_prefix": "rules_jvm_external-4.4.2",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- },
- "apple_support@1.5.0": {
- "name": "apple_support",
- "version": "1.5.0",
- "key": "apple_support@1.5.0",
- "repoName": "build_bazel_apple_support",
- "executionPlatformsToRegister": [],
- "toolchainsToRegister": [
- "@local_config_apple_cc_toolchains//:all"
- ],
- "extensionUsages": [
- {
- "extensionBzlFile": "@build_bazel_apple_support//crosstool:setup.bzl",
- "extensionName": "apple_cc_configure_extension",
- "usingModule": "apple_support@1.5.0",
- "location": {
- "file": "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel",
- "line": 17,
- "column": 35
- },
- "imports": {
- "local_config_apple_cc": "local_config_apple_cc",
- "local_config_apple_cc_toolchains": "local_config_apple_cc_toolchains"
- },
- "devImports": [],
- "tags": [],
- "hasDevUseExtension": false,
- "hasNonDevUseExtension": true
- }
- ],
- "deps": {
- "bazel_skylib": "bazel_skylib@1.3.0",
- "platforms": "platforms@0.0.8",
- "bazel_tools": "bazel_tools@_",
- "local_config_platform": "local_config_platform@_"
- },
- "repoSpec": {
- "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "apple_support~1.5.0",
- "urls": [
- "https://github.com/bazelbuild/apple_support/releases/download/1.5.0/apple_support.1.5.0.tar.gz"
- ],
- "integrity": "sha256-miM41vja0yRPgj8txghKA+TQ+7J8qJLclw5okNW0gYQ=",
- "strip_prefix": "",
- "remote_patches": {},
- "remote_patch_strip": 0
- }
- }
- }
- },
- "moduleExtensions": {
- "@@apple_support~1.5.0//crosstool:setup.bzl%apple_cc_configure_extension": {
- "general": {
- "bzlTransitiveDigest": "pMLFCYaRPkgXPQ8vtuNkMfiHfPmRBy6QJfnid4sWfv0=",
- "accumulatedFileDigests": {},
- "envVariables": {},
- "generatedRepoSpecs": {
- "local_config_apple_cc": {
- "bzlFile": "@@apple_support~1.5.0//crosstool:setup.bzl",
- "ruleClassName": "_apple_cc_autoconf",
- "attributes": {
- "name": "apple_support~1.5.0~apple_cc_configure_extension~local_config_apple_cc"
- }
- },
- "local_config_apple_cc_toolchains": {
- "bzlFile": "@@apple_support~1.5.0//crosstool:setup.bzl",
- "ruleClassName": "_apple_cc_autoconf_toolchains",
- "attributes": {
- "name": "apple_support~1.5.0~apple_cc_configure_extension~local_config_apple_cc_toolchains"
- }
- }
- }
- }
- },
- "@@bazel_features~1.2.0//private:extensions.bzl%version_extension": {
- "general": {
- "bzlTransitiveDigest": "xm7Skm1Las5saxzFWt2hbS+e68BWi+MXyt6+lKIhjPA=",
- "accumulatedFileDigests": {},
- "envVariables": {},
- "generatedRepoSpecs": {
- "bazel_features_version": {
- "bzlFile": "@@bazel_features~1.2.0//private:version_repo.bzl",
- "ruleClassName": "version_repo",
- "attributes": {
- "name": "bazel_features~1.2.0~version_extension~bazel_features_version"
- }
- },
- "bazel_features_globals": {
- "bzlFile": "@@bazel_features~1.2.0//private:globals_repo.bzl",
- "ruleClassName": "globals_repo",
- "attributes": {
- "name": "bazel_features~1.2.0~version_extension~bazel_features_globals",
- "globals": {
- "RunEnvironmentInfo": "5.3.0",
- "DefaultInfo": "0.0.1",
- "__TestingOnly_NeverAvailable": "1000000000.0.0"
- }
- }
- }
- }
- }
- },
- "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_configure_extension": {
- "general": {
- "bzlTransitiveDigest": "O9sf6ilKWU9Veed02jG9o2HM/xgV/UAyciuFBuxrFRY=",
- "accumulatedFileDigests": {},
- "envVariables": {},
- "generatedRepoSpecs": {
- "local_config_cc": {
- "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl",
- "ruleClassName": "cc_autoconf",
- "attributes": {
- "name": "bazel_tools~cc_configure_extension~local_config_cc"
- }
- },
- "local_config_cc_toolchains": {
- "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl",
- "ruleClassName": "cc_autoconf_toolchains",
- "attributes": {
- "name": "bazel_tools~cc_configure_extension~local_config_cc_toolchains"
- }
- }
- }
- }
- },
- "@@bazel_tools//tools/osx:xcode_configure.bzl%xcode_configure_extension": {
- "general": {
- "bzlTransitiveDigest": "Qh2bWTU6QW6wkrd87qrU4YeY+SG37Nvw3A0PR4Y0L2Y=",
- "accumulatedFileDigests": {},
- "envVariables": {},
- "generatedRepoSpecs": {
- "local_config_xcode": {
- "bzlFile": "@@bazel_tools//tools/osx:xcode_configure.bzl",
- "ruleClassName": "xcode_autoconf",
- "attributes": {
- "name": "bazel_tools~xcode_configure_extension~local_config_xcode",
- "xcode_locator": "@bazel_tools//tools/osx:xcode_locator.m",
- "remote_xcode": ""
- }
- }
- }
- }
- },
- "@@bazel_tools//tools/sh:sh_configure.bzl%sh_configure_extension": {
- "general": {
- "bzlTransitiveDigest": "hp4NgmNjEg5+xgvzfh6L83bt9/aiiWETuNpwNuF1MSU=",
- "accumulatedFileDigests": {},
- "envVariables": {},
- "generatedRepoSpecs": {
- "local_config_sh": {
- "bzlFile": "@@bazel_tools//tools/sh:sh_configure.bzl",
- "ruleClassName": "sh_config",
- "attributes": {
- "name": "bazel_tools~sh_configure_extension~local_config_sh"
- }
- }
- }
- }
- },
- "@@rules_java~7.1.0//java:extensions.bzl%toolchains": {
- "general": {
- "bzlTransitiveDigest": "iUIRqCK7tkhvcDJCAfPPqSd06IHG0a8HQD0xeQyVAqw=",
- "accumulatedFileDigests": {},
- "envVariables": {},
- "generatedRepoSpecs": {
- "remotejdk21_linux_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk21_linux_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk17_linux_s390x_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_s390x_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk17_macos_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_macos_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk21_macos_aarch64_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk21_macos_aarch64_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk17_linux_aarch64_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_aarch64_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk21_macos_aarch64": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk21_macos_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",
- "sha256": "2a7a99a3ea263dbd8d32a67d1e6e363ba8b25c645c826f5e167a02bbafaff1fa",
- "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-macosx_aarch64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_aarch64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_aarch64.tar.gz"
- ]
- }
- },
- "remotejdk17_linux_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk17_macos_aarch64": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_macos_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",
- "sha256": "314b04568ec0ae9b36ba03c9cbd42adc9e1265f74678923b19297d66eb84dcca",
- "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64.tar.gz"
- ]
- }
- },
- "remote_java_tools_windows": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remote_java_tools_windows",
- "sha256": "c5c70c214a350f12cbf52da8270fa43ba629b795f3dd328028a38f8f0d39c2a1",
- "urls": [
- "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.1/java_tools_windows-v13.1.zip",
- "https://github.com/bazelbuild/java_tools/releases/download/java_v13.1/java_tools_windows-v13.1.zip"
- ]
- }
- },
- "remotejdk11_win": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_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",
- "sha256": "43408193ce2fa0862819495b5ae8541085b95660153f2adcf91a52d3a1710e83",
- "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-win_x64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-win_x64.zip",
- "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-win_x64.zip"
- ]
- }
- },
- "remotejdk11_win_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_win_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk11_linux_aarch64": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_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",
- "sha256": "54174439f2b3fddd11f1048c397fe7bb45d4c9d66d452d6889b013d04d21c4de",
- "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-linux_aarch64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_aarch64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_aarch64.tar.gz"
- ]
- }
- },
- "remotejdk17_linux": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_linux",
- "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",
- "sha256": "b9482f2304a1a68a614dfacddcf29569a72f0fac32e6c74f83dc1b9a157b8340",
- "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-linux_x64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_x64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_x64.tar.gz"
- ]
- }
- },
- "remotejdk11_linux_s390x_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_s390x_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk11_linux_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk11_macos": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_macos",
- "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",
- "sha256": "bcaab11cfe586fae7583c6d9d311c64384354fb2638eb9a012eca4c3f1a1d9fd",
- "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-macosx_x64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_x64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_x64.tar.gz"
- ]
- }
- },
- "remotejdk11_win_arm64": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_win_arm64",
- "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",
- "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2",
- "strip_prefix": "jdk-11.0.13+8",
- "urls": [
- "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip"
- ]
- }
- },
- "remotejdk17_macos": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_macos",
- "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",
- "sha256": "640453e8afe8ffe0fb4dceb4535fb50db9c283c64665eebb0ba68b19e65f4b1f",
- "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-macosx_x64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_x64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_x64.tar.gz"
- ]
- }
- },
- "remotejdk21_macos": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk21_macos",
- "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",
- "sha256": "9639b87db586d0c89f7a9892ae47f421e442c64b97baebdff31788fbe23265bd",
- "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-macosx_x64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_x64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_x64.tar.gz"
- ]
- }
- },
- "remotejdk21_macos_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk21_macos_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk17_macos_aarch64_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_macos_aarch64_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk17_win": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_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",
- "sha256": "192f2afca57701de6ec496234f7e45d971bf623ff66b8ee4a5c81582054e5637",
- "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-win_x64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_x64.zip",
- "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_x64.zip"
- ]
- }
- },
- "remotejdk11_macos_aarch64_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_macos_aarch64_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk11_linux_ppc64le_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_ppc64le_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk21_linux": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk21_linux",
- "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",
- "sha256": "0c0eadfbdc47a7ca64aeab51b9c061f71b6e4d25d2d87674512e9b6387e9e3a6",
- "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-linux_x64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_x64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_x64.tar.gz"
- ]
- }
- },
- "remote_java_tools_linux": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remote_java_tools_linux",
- "sha256": "d134da9b04c9023fb6e56a5d4bffccee73f7bc9572ddc4e747778dacccd7a5a7",
- "urls": [
- "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.1/java_tools_linux-v13.1.zip",
- "https://github.com/bazelbuild/java_tools/releases/download/java_v13.1/java_tools_linux-v13.1.zip"
- ]
- }
- },
- "remotejdk21_win": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk21_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",
- "sha256": "e9959d500a0d9a7694ac243baf657761479da132f0f94720cbffd092150bd802",
- "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-win_x64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-win_x64.zip",
- "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-win_x64.zip"
- ]
- }
- },
- "remotejdk21_linux_aarch64": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk21_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",
- "sha256": "1fb64b8036c5d463d8ab59af06bf5b6b006811e6012e3b0eb6bccf57f1c55835",
- "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-linux_aarch64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_aarch64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_aarch64.tar.gz"
- ]
- }
- },
- "remotejdk11_linux_aarch64_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_aarch64_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk11_linux_s390x": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_s390x",
- "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",
- "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b",
- "strip_prefix": "jdk-11.0.15+10",
- "urls": [
- "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"
- ]
- }
- },
- "remotejdk17_linux_aarch64": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_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",
- "sha256": "6531cef61e416d5a7b691555c8cf2bdff689201b8a001ff45ab6740062b44313",
- "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64.tar.gz"
- ]
- }
- },
- "remotejdk17_win_arm64_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_win_arm64_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk11_linux": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_linux",
- "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",
- "sha256": "a34b404f87a08a61148b38e1416d837189e1df7a040d949e743633daf4695a3c",
- "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-linux_x64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_x64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_x64.tar.gz"
- ]
- }
- },
- "remotejdk11_macos_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_macos_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk17_linux_ppc64le_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_ppc64le_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk17_win_arm64": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_win_arm64",
- "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",
- "sha256": "6802c99eae0d788e21f52d03cab2e2b3bf42bc334ca03cbf19f71eb70ee19f85",
- "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-win_aarch64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_aarch64.zip",
- "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_aarch64.zip"
- ]
- }
- },
- "remote_java_tools_darwin_arm64": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remote_java_tools_darwin_arm64",
- "sha256": "dab5bb87ec43e980faea6e1cec14bafb217b8e2f5346f53aa784fd715929a930",
- "urls": [
- "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.1/java_tools_darwin_arm64-v13.1.zip",
- "https://github.com/bazelbuild/java_tools/releases/download/java_v13.1/java_tools_darwin_arm64-v13.1.zip"
- ]
- }
- },
- "remotejdk17_linux_ppc64le": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_ppc64le",
- "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",
- "sha256": "00a4c07603d0218cd678461b5b3b7e25b3253102da4022d31fc35907f21a2efd",
- "strip_prefix": "jdk-17.0.8.1+1",
- "urls": [
- "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz",
- "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz"
- ]
- }
- },
- "remotejdk21_linux_aarch64_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk21_linux_aarch64_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk11_win_arm64_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_win_arm64_toolchain_config_repo",
- "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"
- }
- },
- "local_jdk": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:local_java_repository.bzl",
- "ruleClassName": "_local_java_repository_rule",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~local_jdk",
- "java_home": "",
- "version": "",
- "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"
- }
- },
- "remote_java_tools_darwin_x86_64": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remote_java_tools_darwin_x86_64",
- "sha256": "0db40d8505a2b65ef0ed46e4256757807db8162f7acff16225be57c1d5726dbc",
- "urls": [
- "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.1/java_tools_darwin_x86_64-v13.1.zip",
- "https://github.com/bazelbuild/java_tools/releases/download/java_v13.1/java_tools_darwin_x86_64-v13.1.zip"
- ]
- }
- },
- "remote_java_tools": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remote_java_tools",
- "sha256": "286bdbbd66e616fc4ed3f90101418729a73baa7e8c23a98ffbef558f74c0ad14",
- "urls": [
- "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.1/java_tools-v13.1.zip",
- "https://github.com/bazelbuild/java_tools/releases/download/java_v13.1/java_tools-v13.1.zip"
- ]
- }
- },
- "remotejdk17_linux_s390x": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_s390x",
- "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",
- "sha256": "ffacba69c6843d7ca70d572489d6cc7ab7ae52c60f0852cedf4cf0d248b6fc37",
- "strip_prefix": "jdk-17.0.8.1+1",
- "urls": [
- "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz",
- "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz"
- ]
- }
- },
- "remotejdk17_win_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk17_win_toolchain_config_repo",
- "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"
- }
- },
- "remotejdk11_linux_ppc64le": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_ppc64le",
- "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",
- "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f",
- "strip_prefix": "jdk-11.0.15+10",
- "urls": [
- "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"
- ]
- }
- },
- "remotejdk11_macos_aarch64": {
- "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
- "ruleClassName": "http_archive",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk11_macos_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",
- "sha256": "7632bc29f8a4b7d492b93f3bc75a7b61630894db85d136456035ab2a24d38885",
- "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-macosx_aarch64",
- "urls": [
- "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_aarch64.tar.gz",
- "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_aarch64.tar.gz"
- ]
- }
- },
- "remotejdk21_win_toolchain_config_repo": {
- "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl",
- "ruleClassName": "_toolchain_config",
- "attributes": {
- "name": "rules_java~7.1.0~toolchains~remotejdk21_win_toolchain_config_repo",
- "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"
- }
- }
- }
- }
- }
- }
-}
diff --git a/WORKSPACE b/WORKSPACE
index 2f65076..ff6744f 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,11 +1,9 @@
workspace(name = "rules_proto")
-load("//proto:repositories.bzl", "rules_proto_dependencies")
+load("//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
-load("//proto:toolchains.bzl", "rules_proto_toolchains")
-
rules_proto_toolchains()
# Dev-only dependencies. USERS SHOULD NOT INSTALL THESE!
@@ -13,10 +11,6 @@ load(":dev_deps.bzl", "rules_proto_dev_deps")
rules_proto_dev_deps()
-load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
-
-bazel_skylib_workspace()
-
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
diff --git a/dev_deps.bzl b/dev_deps.bzl
index a9fb212..efbafb9 100644
--- a/dev_deps.bzl
+++ b/dev_deps.bzl
@@ -58,10 +58,10 @@ def rules_proto_dev_deps():
http_archive(
name = "com_google_protobuf",
- sha256 = "dc167b7d23ec0d6e4a3d4eae1798de6c8d162e69fa136d39753aaeb7a6e1289d",
- strip_prefix = "protobuf-23.1",
+ sha256 = "75be42bd736f4df6d702a0e4e4d30de9ee40eac024c4b845d17ae4cc831fe4ae",
+ strip_prefix = "protobuf-21.7",
urls = [
- "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v23.1.tar.gz",
- "https://github.com/protocolbuffers/protobuf/archive/v23.1.tar.gz",
+ "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v21.7.tar.gz",
+ "https://github.com/protocolbuffers/protobuf/archive/v21.7.tar.gz",
],
)
diff --git a/proto/private/rules/BUILD b/proto/private/rules/BUILD
index 61ec702..0d78785 100644
--- a/proto/private/rules/BUILD
+++ b/proto/private/rules/BUILD
@@ -18,7 +18,6 @@ bzl_library(
srcs = [
"proto_toolchain.bzl",
"proto_toolchain_rule.bzl",
- "@bazel_features//:bzl_files",
],
visibility = [
"//proto:__subpackages__",
diff --git a/proto/private/rules/proto_toolchain_rule.bzl b/proto/private/rules/proto_toolchain_rule.bzl
index 70d55fc..d48fb3a 100644
--- a/proto/private/rules/proto_toolchain_rule.bzl
+++ b/proto/private/rules/proto_toolchain_rule.bzl
@@ -14,23 +14,12 @@
"""A Starlark implementation of the proto_toolchain rule."""
-load("@bazel_features//:features.bzl", "bazel_features")
load("//proto:proto_common.bzl", "ProtoLangToolchainInfo", "proto_common")
def _impl(ctx):
kwargs = {}
if getattr(proto_common, "INCOMPATIBLE_PASS_TOOLCHAIN_TYPE", False):
kwargs["toolchain_type"] = "//proto:toolchain_type"
-
- # allowlist_different_package is only available after Bazel versions > 6.4.0
- # therefore needs to be set conditionally. We are using bazel_features for this
- # but there's no specific feature flag for `allowlist_different_package` so we'll
- # just use module_extension_has_os_arch_dependent which checks if Bazel version >= 6.4.0
- # See: https://github.com/protocolbuffers/protobuf/pull/14590#discussion_r1398778415
- # See: https://github.com/bazel-contrib/bazel_features/blob/443861571a389ddc16d17690ab8e46ee87b4ea57/features.bzl#L25C5-L25C43
- if bazel_features.external_deps.module_extension_has_os_arch_dependent:
- kwargs["allowlist_different_package"] = None
-
return [
DefaultInfo(
files = depset(),
@@ -46,6 +35,7 @@ def _impl(ctx):
protoc_opts = ctx.fragments.proto.experimental_protoc_opts,
progress_message = ctx.attr.progress_message,
mnemonic = ctx.attr.mnemonic,
+ allowlist_different_package = None,
**kwargs
),
),
diff --git a/proto/proto_common.bzl b/proto/proto_common.bzl
index 3e15665..6184971 100644
--- a/proto/proto_common.bzl
+++ b/proto/proto_common.bzl
@@ -22,33 +22,3 @@ load("//proto/private:native.bzl", "native_proto_common")
proto_common = native_proto_common
ProtoLangToolchainInfo = proto_common.ProtoLangToolchainInfo
-
-def _incompatible_toolchains_enabled():
- return getattr(proto_common, "INCOMPATIBLE_ENABLE_PROTO_TOOLCHAIN_RESOLUTION", False)
-
-def _find_toolchain(ctx, legacy_attr, toolchain_type):
- if _incompatible_toolchains_enabled():
- toolchain = ctx.toolchains[toolchain_type]
- if not toolchain:
- fail("No toolchains registered for '%s'." % toolchain_type)
- return toolchain.proto
- else:
- return getattr(ctx.attr, legacy_attr)[ProtoLangToolchainInfo]
-
-def _use_toolchain(toolchain_type):
- if _incompatible_toolchains_enabled():
- return [config_common.toolchain_type(toolchain_type, mandatory = False)]
- else:
- return []
-
-def _if_legacy_toolchain(legacy_attr_dict):
- if _incompatible_toolchains_enabled():
- return {}
- else:
- return legacy_attr_dict
-
-toolchains = struct(
- use_toolchain = _use_toolchain,
- find_toolchain = _find_toolchain,
- if_legacy_toolchain = _if_legacy_toolchain,
-)
diff --git a/proto/repositories.bzl b/proto/repositories.bzl
index 94abe21..15ab514 100644
--- a/proto/repositories.bzl
+++ b/proto/repositories.bzl
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-"""Dependencies required to use rules_proto."""
+"""Dependencies and toolchains required to use rules_proto."""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
@@ -40,10 +40,8 @@ def rules_proto_dependencies():
sha256 = "4531deccb913639c30e5c7512a054d5d875698daeb75d8cf90f284375fe7c360",
)
- maybe(
- http_archive,
- name = "bazel_features",
- sha256 = "b8789c83c893d7ef3041d3f2795774936b27ff61701a705df52fd41d6ddbf692",
- strip_prefix = "bazel_features-1.2.0",
- url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.2.0/bazel_features-v1.2.0.tar.gz",
- )
+def rules_proto_toolchains():
+ """An utility method to load all Protobuf toolchains."""
+
+ # Nothing to do here (yet).
+ pass
diff --git a/proto/toolchains.bzl b/proto/toolchains.bzl
deleted file mode 100644
index d162d4a..0000000
--- a/proto/toolchains.bzl
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 2019 The Bazel Authors. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-"""Toolchains required to use rules_proto."""
-
-def rules_proto_toolchains():
- """An utility method to load all Protobuf toolchains."""
-
- # Nothing to do here (yet).
- pass
diff --git a/tests/BUILD b/tests/BUILD
index 57bb308..2381713 100644
--- a/tests/BUILD
+++ b/tests/BUILD
@@ -1,18 +1,4 @@
-load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
load("//proto:defs.bzl", "proto_library")
-load("//proto:proto_common.bzl", "proto_common")
-
-config_setting(
- name = "incompatible_enable_proto_toolchain_resolution",
- flag_values = {
- ":incompatible_enable_proto_toolchain_resolution_flag": "true",
- },
-)
-
-bool_flag(
- name = "incompatible_enable_proto_toolchain_resolution_flag",
- build_setting_default = getattr(proto_common, "INCOMPATIBLE_ENABLE_PROTO_TOOLCHAIN_RESOLUTION", False),
-)
proto_library(
name = "empty_proto",
diff --git a/tests/proto_common/BUILD.bazel b/tests/proto_common/BUILD.bazel
deleted file mode 100644
index 82a7ecd..0000000
--- a/tests/proto_common/BUILD.bazel
+++ /dev/null
@@ -1,3 +0,0 @@
-load(":toolchains.bzl", "unittest_toolchains")
-
-unittest_toolchains()
diff --git a/tests/proto_common/toolchains.bzl b/tests/proto_common/toolchains.bzl
deleted file mode 100644
index 1f01370..0000000
--- a/tests/proto_common/toolchains.bzl
+++ /dev/null
@@ -1,51 +0,0 @@
-"unit tests for proto_common.toolchains"
-
-load("@bazel_skylib//lib:partial.bzl", "partial")
-load("@bazel_skylib//lib:unittest.bzl", "asserts", "unittest")
-load("//proto:proto_common.bzl", "toolchains")
-
-def _test_toolchains_without_incompatible_flag(ctx):
- env = unittest.begin(ctx)
-
- asserts.equals(env, {}, toolchains.if_legacy_toolchain({}))
- asserts.equals(env, None, toolchains.if_legacy_toolchain(None))
- asserts.equals(env, False, toolchains.if_legacy_toolchain(False))
-
- return unittest.end(env)
-
-toolchains_without_incompatible_flags_test = unittest.make(_test_toolchains_without_incompatible_flag)
-
-def _test_toolchains_with_incompatible_flag(ctx):
- env = unittest.begin(ctx)
-
- asserts.equals(env, {}, toolchains.if_legacy_toolchain({}))
- asserts.equals(env, {}, toolchains.if_legacy_toolchain(None))
- asserts.equals(env, {}, toolchains.if_legacy_toolchain(False))
- toolchain = toolchains.use_toolchain("//nonexistent:toolchain_type")
- asserts.equals(env, 1, len(toolchain))
- asserts.equals(env, False, toolchain[0].mandatory)
- asserts.equals(env, str(Label("//nonexistent:toolchain_type")), str(toolchain[0].toolchain_type))
-
- return unittest.end(env)
-
-toolchains_with_incompatible_flag_test = unittest.make(_test_toolchains_with_incompatible_flag)
-
-# buildifier: disable=unnamed-macro
-def unittest_toolchains():
- unittest.suite(
- "test_toolchains",
- partial.make(
- toolchains_without_incompatible_flags_test,
- target_compatible_with = select({
- "//tests:incompatible_enable_proto_toolchain_resolution": ["@platforms//:incompatible"],
- "//conditions:default": [],
- }),
- ),
- partial.make(
- toolchains_with_incompatible_flag_test,
- target_compatible_with = select({
- "//tests:incompatible_enable_proto_toolchain_resolution": [],
- "//conditions:default": ["@platforms//:incompatible"],
- }),
- ),
- )