| commit | 808f8496a00a153840025a549b51d99bba874565 | [log] [tgz] |
|---|---|---|
| author | Fabian Meumertzheim <fabian@meumertzhe.im> | Fri May 23 01:02:46 2025 -0700 |
| committer | rules_java Copybara <noreply@google.com> | Fri May 23 01:03:26 2025 -0700 |
| tree | aa3da60127776f5761aa64d8ec7fe480b95f52c1 | |
| parent | 042e9a629ca2cab8b13539aeaee055a9e7394fd8 [diff] |
Use the `launcher_maker` toolchain if available (#294) This avoids an unnecessary dependency on a C++ toolchain matching the target platform when not building for Windows. Also fix the configuration of the launcher, which should be built for the target platform. Closes #294 COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_java/pull/294 from fmeum:cross-compile-to-unix 13f097a3c541f603e091c139a4543b632382c9aa PiperOrigin-RevId: 762307907 Change-Id: I1e172a81bd198b02032a705c459ead48b0012aea
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