| commit | 4a1933abf58755b35775e3c5d0c87da0b742771e | [log] [tgz] |
|---|---|---|
| author | Googler <steinman@google.com> | Thu Oct 23 21:31:09 2025 -0700 |
| committer | rules_java Copybara <noreply@google.com> | Thu Oct 23 21:31:47 2025 -0700 |
| tree | 15de3cb52f9d2b72b7316bfe1e7fff17ad19c029 | |
| parent | 76212e60692337b1bb10afa98a8163279fe99e17 [diff] |
Migrate swig_include_scanning to Starlark. In native code, this is hard coded to True, but it's also used in starlark code. So, in native code, remove references to the flag. In Starlark code, refer to the starlark option. No OSS code here, so we can add the extra attribute to refer to the flag. PiperOrigin-RevId: 823331236 Change-Id: I4adc25b86c531306e9d4491b985ea95400a875c3
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