Actually fix the setup for `@rules_java` `linux_only_tests` The `git tag` command fails without any commits so we just add an intial empty one. Aside, as it turns out, `bazel-diff` is skipped when the presubmit.yml file is changed. So this time I made sure to manually verify that this works. (ignore-relnotes) PiperOrigin-RevId: 741451520 Change-Id: I255a643dce6d3c40d66d61d125094c8957d880bb
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