| module(name = "fake_repo_for_testing") |
| |
| bazel_dep(name = "rules_java", version = "7.5.0") |
| archive_override( |
| module_name = "rules_java", |
| urls = ["file:///tmp/rules_java-HEAD.tar.gz"], |
| ) |
| |
| java_toolchains = use_extension("@rules_java//java:extensions.bzl", "toolchains") |
| use_repo( |
| java_toolchains, |
| "local_jdk", |
| "remote_java_tools", |
| "remote_java_tools_darwin_arm64", |
| "remote_java_tools_darwin_x86_64", |
| "remote_java_tools_linux", |
| "remote_java_tools_windows", |
| "remotejdk11_linux", |
| "remotejdk11_linux_aarch64", |
| "remotejdk11_linux_ppc64le", |
| "remotejdk11_linux_s390x", |
| "remotejdk11_macos", |
| "remotejdk11_macos_aarch64", |
| "remotejdk11_win", |
| "remotejdk11_win_arm64", |
| "remotejdk17_linux", |
| "remotejdk17_linux_s390x", |
| "remotejdk17_macos", |
| "remotejdk17_macos_aarch64", |
| "remotejdk17_win", |
| "remotejdk17_win_arm64", |
| "remotejdk21_linux", |
| "remotejdk21_macos", |
| "remotejdk21_macos_aarch64", |
| "remotejdk21_win", |
| ) |
| |
| register_toolchains("//:all") |