Extract legacy native symbols to a separate bzl file `legacy_native.bzl` will only be used by the compatibility proxy for Bazel versions < 8, and will thus allow removing these symbols from Bazel@HEAD. `native.bzl` now only exposes the `java_common` private APIs. PiperOrigin-RevId: 726035093 Change-Id: I8c78164b2b7ce9b647b2a7d195850213a85a8b86
Java Rules for Bazel https://bazel.build.
Documentation
For a quickstart tutorial, see https://bazel.build/start/java
For slightly more advanced usage, like setting up toolchains or writing your own java-like rules, see https://bazel.build/docs/bazel-and-java
Core Java rules
Add a load like:
load("@rules_java//java:java_library.bzl", "java_library")
to your BUILD / BUILD.bazel / bzl` files
For detailed docs on the core rules, see https://bazel.build/reference/be/java