Fix rules_java `metadata.template.json` for BCR The `github_user_id` is now mandatory: https://buildkite.com/bazel/bcr-presubmit/builds/39168/table?jid=019febef-1d73-4158-9660-9cc6c02f9342&tab=output PiperOrigin-RevId: 962131561 Change-Id: I98d7f7180682b4f9d9e67f7c67d6a7e3b52a165d
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