Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[29.x] Add missing java load (#19016)
* Add missing java load For most _native_ loads of Java rules (e.g. java_library), these can be automatically handled by Bazel 8's autoload feature. However, this is not the case when the main repository (IOW, the repository currently being built) is a rule repo itself. In those cases, module dependencies are not automatically loaded. This PR fixes a compatibility issue of OSS protobuf Bazel rules with other Bazel rule repositories such as bazelbuild/rules_android. Without this PR, builds within rules repositories with Bazel 8 will fail like so: ``` external/protobuf+/java/core/BUILD.bazel:142:13: @@protobuf+//java/core:lite: no such attribute 'srcs' in 'java_library' rule ``` PiperOrigin-RevId: 690735533 * Dummy commit to force CI re-trigger
- Loading branch information