From c31465a192b3d7dc366f314ef117b303a29c787b Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 9 Dec 2024 10:31:49 -0800 Subject: [PATCH] Replace rules_proto with underlying protobuf module. (#187) Signed-off-by: Benjamin Peterson Signed-off-by: Benjamin Peterson --- MODULE.bazel | 5 ++--- proto/BUILD | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 84415b6..5b5052e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -12,9 +12,8 @@ bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "buildifier_prebuilt", version = "6.4.0") bazel_dep(name = "platforms", version = "0.0.10") bazel_dep(name = "rules_java", version = "8.6.1") -bazel_dep(name = "rules_jvm_external", version = "6.2") -bazel_dep(name = "rules_proto", version = "6.0.2") -bazel_dep(name = "protobuf", version = "27.2") +bazel_dep(name = "rules_jvm_external", version = "6.3") +bazel_dep(name = "protobuf", version = "29.1") # ========================================= # Java dependencies diff --git a/proto/BUILD b/proto/BUILD index 3b6821e..4bf07d1 100644 --- a/proto/BUILD +++ b/proto/BUILD @@ -1,5 +1,5 @@ -load("@rules_java//java:defs.bzl", "java_proto_library") -load("@rules_proto//proto:defs.bzl", "proto_library") +load("@protobuf//bazel:java_proto_library.bzl", "java_proto_library") +load("@protobuf//bazel:proto_library.bzl", "proto_library") proto_library( name = "bazel_invocation_analyzer_proto",