Skip to content

Commit

Permalink
chore: upgrade to Bazel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Mar 11, 2024
1 parent 5428336 commit 4428635
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# TODO: opt-in to bzlmod when ready
common --noenable_bzlmod

common --jvmopt=-Djava.security.manager=allow
build --java_language_version=17
Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.4.0
7.1.0
4 changes: 4 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories")

node_repositories()

load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")

rules_js_dependencies()

# ----------------------------------------------------
# proto_repositories
# ----------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions deps/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,9 @@ proto_dependency(
proto_dependency(
name = "aspect_rules_js",
repository_rule = "http_archive",
sha256 = "e3e6c3d42491e2938f4239a3d04259a58adc83e21e352346ad4ef62f87e76125",
strip_prefix = "rules_js-1.30.0",
urls = ["https://github.com/aspect-build/rules_js/releases/download/v1.30.0/rules_js-v1.30.0.tar.gz"],
sha256 = "7b2a4d1d264e105eae49a27e2e78065b23e2e45724df2251eacdd317e95bfdfd",
strip_prefix = "rules_js-1.31.0",
urls = ["https://github.com/aspect-build/rules_js/releases/download/v1.31.0/rules_js-v1.31.0.tar.gz"],
deps = ["aspect_bazel_lib"],
)

Expand Down
6 changes: 3 additions & 3 deletions deps/ts_proto_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ def aspect_rules_js():
_maybe(
http_archive,
name = "aspect_rules_js",
sha256 = "e3e6c3d42491e2938f4239a3d04259a58adc83e21e352346ad4ef62f87e76125",
strip_prefix = "rules_js-1.30.0",
sha256 = "7b2a4d1d264e105eae49a27e2e78065b23e2e45724df2251eacdd317e95bfdfd",
strip_prefix = "rules_js-1.31.0",
urls = [
"https://github.com/aspect-build/rules_js/releases/download/v1.30.0/rules_js-v1.30.0.tar.gz",
"https://github.com/aspect-build/rules_js/releases/download/v1.31.0/rules_js-v1.31.0.tar.gz",
],
)

Expand Down

0 comments on commit 4428635

Please sign in to comment.