Update `@rules_java` release notes Adds a clarification for correctly registering protobuf deps in `WORKSPACE` mode PiperOrigin-RevId: 699105038 Change-Id: I767f62f645663c684aa944daa1b67f4fd97542f9
diff --git a/distro/relnotes.bzl b/distro/relnotes.bzl index 4200e04..ba12883 100644 --- a/distro/relnotes.bzl +++ b/distro/relnotes.bzl
@@ -30,8 +30,13 @@ load("@rules_java//java:rules_java_deps.bzl", "rules_java_dependencies") rules_java_dependencies() + +# note that the following line is what is minimally required from protobuf for the java rules +# consider using the protobuf_deps() public API from @com_google_protobuf//:protobuf_deps.bzl load("@com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility proto_bazel_features(name = "proto_bazel_features") + +# register toolchains load("@rules_java//java:repositories.bzl", "rules_java_toolchains") rules_java_toolchains() ~~~