| commit | 243a1d4f4b41d5c923868c94b3ebc6d8782580e6 | [log] [tgz] |
|---|---|---|
| author | Googler <cushon@google.com> | Sat Jan 31 02:12:28 2026 -0800 |
| committer | rules_java Copybara <noreply@google.com> | Sat Jan 31 02:12:53 2026 -0800 |
| tree | 4af717a460d635efa68af517f5430c2ad1701777 | |
| parent | e910554011ae22d697ccf371d3f38f56b0721516 [diff] |
Fix a `.jar` file in `java_import.runtime_deps` Wrap it in a separate `java_import` instead. This fixes a java_jars_in_deps_allowlist violation (b/479392897) and doesn't alter the meaning of the test. PiperOrigin-RevId: 863594466 Change-Id: I77bdb2cabdb7394ab95df452df6437a74b202bba
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