Skip to content

Commit

Permalink
Upgrade rules_java
Browse files Browse the repository at this point in the history
Also get the main workspace and test workspace at the same version of
rules_java
  • Loading branch information
jjudd committed Nov 13, 2024
1 parent aaf77df commit 911e0cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ protobuf_deps()
# rules_java
http_archive(
name = "rules_java",
sha256 = "41131de4417de70b9597e6ebd515168ed0ba843a325dc54a81b92d7af9a7b3ea",
sha256 = "a9690bc00c538246880d5c83c233e4deb83fe885f54c21bb445eb8116a180b83",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/7.9.0/rules_java-7.9.0.tar.gz",
"https://github.com/bazelbuild/rules_java/releases/download/7.12.2/rules_java-7.12.2.tar.gz",
],
)

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

rules_java_dependencies()

Expand Down
7 changes: 3 additions & 4 deletions tests/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,16 @@ protobuf_deps()
# rules_java
http_archive(
name = "rules_java",
sha256 = "8afd053dd2a7b85a4f033584f30a7f1666c5492c56c76e04eec4428bdb2a86cf",
sha256 = "a9690bc00c538246880d5c83c233e4deb83fe885f54c21bb445eb8116a180b83",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/7.6.5/rules_java-7.6.5.tar.gz",
"https://github.com/bazelbuild/rules_java/releases/download/7.12.2/rules_java-7.12.2.tar.gz",
],
)

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

rules_java_dependencies()

rules_java_toolchains()

register_toolchains("//:repository_default_toolchain_21_definition")

Expand Down

0 comments on commit 911e0cb

Please sign in to comment.