| commit | b19de64d5ebbf8548404be6f028c5a1ed336a826 | [log] [tgz] |
|---|---|---|
| author | Ed Schouten <eschouten@apple.com> | Wed Sep 24 07:46:29 2025 -0700 |
| committer | rules_java Copybara <noreply@google.com> | Wed Sep 24 07:47:06 2025 -0700 |
| tree | bf4a064cfc4daa3c069e219a87300d922a7c8ca9 | |
| parent | 3cbc18e8e874b4d1d017d5e8b862d35624088b60 [diff] |
Stop using the deprecated Label.workspace_name (#317) Starting with Bazel 7 we should use Label.repo_name instead. Closes #317 COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_java/pull/317 from EdSchouten:eschouten/20250909-repo-name 8d6a3e327ffbd9339ac5021c4e07d20454b39ea4 PiperOrigin-RevId: 810880486 Change-Id: I147c477448c29f6a421586cded7f4e05b137c480
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