Skip to content

Commit

Permalink
build: Update Bazel to 7.3.1 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjayVas authored Sep 5, 2024
1 parent bd758a2 commit 4039db8
Show file tree
Hide file tree
Showing 4 changed files with 655 additions and 2,311 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.0.1
7.3.1
22 changes: 13 additions & 9 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ KOTLIN_RELEASE_VERSION = "1.8.22"

KOTLINX_COROUTINES_VERSION = "1.7.3"

GRPC_JAVA_VERSION = "1.59.1"
GRPC_JAVA_VERSION = "1.60.2"

GRPC_KOTLIN_VERSION = "1.4.1"

PROTOBUF_JAVA_VERSION = "3.23.4" # Compatible with protobuf version.

bazel_dep(
name = "bazel_skylib",
version = "1.5.0",
version = "1.7.1",
)
bazel_dep(
name = "rules_proto",
version = "6.0.0-rc1",
version = "6.0.2",
)
bazel_dep(
name = "rules_java",
version = "7.3.2",
version = "7.9.1",
)
bazel_dep(
name = "rules_kotlin",
Expand Down Expand Up @@ -72,9 +72,13 @@ maven.install(
)
use_repo(maven, "maven")

non_module_deps = use_extension("//:non_module_deps.bzl", "non_module_deps")
non_module_deps.grpc_java_plugin_version(
sha256 = "d0345a5508959633f086f42f55782b64913aea890dccaa35ffbf7fe9da0f4463",
version = GRPC_JAVA_VERSION,
http_file = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")

http_file(
name = "protoc_gen_grpc_java",
executable = True,
sha256 = "25ec3fcacc8e2b85764080cb5936e1462119d87fe05d5a61c9da569009d872d6",
url = "https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/{version}/protoc-gen-grpc-java-{version}-linux-x86_64.exe".format(
version = GRPC_JAVA_VERSION,
),
)
use_repo(non_module_deps, "protoc_gen_grpc_java")
Loading

0 comments on commit 4039db8

Please sign in to comment.