Return repo_metadata from repository_rules (#367) This is used by bazel to determine that these rules are remotely cacheable with the remote repo contents cache. Closes #367 COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_java/pull/367 from keith:ks/return-repo_metadata-from-repository_rules f9d9c79fce4d90ca021368b268dac7fd4a879b8c PiperOrigin-RevId: 946959010 Change-Id: Ic5537bf0e2b825d67061be55f61250e770e279b7
Java Rules for Bazel https://bazel.build.
Documentation
For a quickstart tutorial, see https://bazel.build/start/java
The fastest way to try this in an empty project is to click the green “Use this template” button on https://github.com/bazel-starters/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