diff --git a/.bazelversion b/.bazelversion index eec6dacbd4823..deeb3d66ef077 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -8.8.1 +9.2.0 diff --git a/MODULE.bazel b/MODULE.bazel index b04f6253f077a..df5d039f42798 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -17,12 +17,11 @@ module( name = "google_cloud_cpp", version = "3.11.0-rc", # Updated by CMake - compatibility_level = 3, # Updated by CMake ) bazel_dep(name = "platforms", version = "1.1.0") bazel_dep(name = "bazel_skylib", version = "1.9.2") -bazel_dep(name = "rules_cc", version = "0.2.17") +bazel_dep(name = "rules_cc", version = "0.2.20") bazel_dep(name = "abseil-cpp", version = "20260526.0") # For backwards compatibility with WORKSPACE. @@ -32,7 +31,9 @@ bazel_dep(name = "abseil-cpp", version = "20260526.0") bazel_dep(name = "protobuf", version = "35.1", repo_name = "com_google_protobuf") bazel_dep(name = "boringssl", version = "0.20251124.0") bazel_dep(name = "nlohmann_json", version = "3.12.0.bcr.1") -bazel_dep(name = "curl", version = "8.8.0.bcr.3") + +# curl 8.12.0.bcr.2 is the earliest version module that supports bazel 9 +bazel_dep(name = "curl", version = "8.12.0.bcr.2") bazel_dep(name = "opentelemetry-cpp", version = "1.24.0") bazel_dep(name = "rules_proto", version = "7.1.0") bazel_dep(name = "rules_python", version = "2.3.4") diff --git a/ci/showcase/BUILD.bazel.in b/ci/showcase/BUILD.bazel.in index 16161e68c1b18..5e5d285673a73 100644 --- a/ci/showcase/BUILD.bazel.in +++ b/ci/showcase/BUILD.bazel.in @@ -15,6 +15,7 @@ load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library") load("@grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library") +load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") package(default_visibility = ["//visibility:private"])