| commit | 4ce6ca94017971b4877a08fe178b005972d6a15b | [log] [tgz] |
|---|---|---|
| author | Googler <hvd@google.com> | Mon May 19 01:42:17 2025 -0700 |
| committer | rules_java Copybara <noreply@google.com> | Mon May 19 01:42:54 2025 -0700 |
| tree | 88292db4b61a6e683ceb2604f7c0d0566af6e5b3 | |
| parent | 94426d158cdc6fdfcba524ff042bf8ffddf9514a [diff] |
Validate `java_common.compile(strict_deps)` in Starlark Before this, passing an invalid value would crash Bazel PiperOrigin-RevId: 760518664 Change-Id: If482d29e36b40529a9f2c0be523944163408327f
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