From c755d9ac1af597f654b6ed38fecc0dc9f0b78628 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Wed, 17 Apr 2024 08:14:24 -0700 Subject: [PATCH] Add `load()` statements for the Bazel builtin top-level java symbols Loads are being added in preparation for moving the symbols out of Bazel and into `rules_java`. PiperOrigin-RevId: 625688195 --- MODULE.bazel | 2 +- java/osgi/osgi.bzl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index ceb988da5c..d900a52f34 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -16,7 +16,7 @@ bazel_dep(name = "abseil-cpp", repo_name = "com_google_absl", version = "2023080 bazel_dep(name = "bazel_skylib", version = "1.4.1") bazel_dep(name = "jsoncpp", version = "1.9.5") bazel_dep(name = "rules_cc", version = "0.0.9") -bazel_dep(name = "rules_java", version = "4.0.0") +bazel_dep(name = "rules_java", version = "5.3.5") bazel_dep(name = "rules_jvm_external", version = "5.1") bazel_dep(name = "rules_pkg", version = "0.7.0") bazel_dep(name = "rules_python", version = "0.10.2") diff --git a/java/osgi/osgi.bzl b/java/osgi/osgi.bzl index 8d88ba7fa6..c83b4c02b5 100644 --- a/java/osgi/osgi.bzl +++ b/java/osgi/osgi.bzl @@ -1,6 +1,6 @@ """ Custom rule to generate OSGi Manifest """ -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_java//java:defs.bzl", "JavaInfo", "java_library") # Note that this rule is currently agnostic of protobuf concerns and could be # pulled out as a general purpose helper to allow migrations from maven to bazel