Skip to content

Commit

Permalink
[bazel] Update rules_java
Browse files Browse the repository at this point in the history
This fixes broken build on Windows failing with:

ERROR: C:/tmp/5rcabgft/external/rules_java_builtin/toolchains/BUILD:283:27: While resolving toolchains for target @@rules_java_builtin//toolchains:remotejdk_21 (c81c515): No matching toolchains found for types @@bazel_tools//tools/jdk:runtime_toolchain_type.
  • Loading branch information
p0deje committed Mar 11, 2024
1 parent eae8507 commit ad17dd2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ workspace(

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "rules_java",
sha256 = "16bc94b1a3c64f2c36ceecddc9e09a643e80937076b97e934b96a8f715ed1eaa",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/6.5.2/rules_java-6.5.2.tar.gz",
],
)

load("@rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")

rules_java_dependencies()

rules_java_toolchains()

http_archive(
name = "apple_rules_lint",
sha256 = "7c3cc45a95e3ef6fbc484a4234789a027e11519f454df63cbb963ac499f103f9",
Expand Down

0 comments on commit ad17dd2

Please sign in to comment.