commit | c22454fadb4773cbd202bfa3e28f1d6a88c4c94a | [log] [tgz] |
---|---|---|
author | Fabian Meumertzheim <fabian@meumertzhe.im> | Wed Nov 27 07:28:44 2024 -0800 |
committer | rules_java Copybara <noreply@google.com> | Wed Nov 27 07:29:19 2024 -0800 |
tree | c0be5f262a27674e80352fb8245f2fa756851b37 | |
parent | 6b37b158868eaf07f0d2b0e0219f8ae87f5aca39 [diff] |
Build bootclasspath in a UTF-8 environment Copybara Import from https://github.com/bazelbuild/rules_java/pull/243 BEGIN_PUBLIC Build bootclasspath in a UTF-8 environment (#243) `java` and `javac` convert file and classpaths to absolute paths and thus require a UTF-8 locale to work under a path that contains non-ASCII characters. Unblocks https://github.com/bazelbuild/bazel/pull/24457 Closes #243 END_PUBLIC COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_java/pull/243 from fmeum:utf8-environment 05813e491f73a167bf5c7d5e723d2417649f3867 PiperOrigin-RevId: 700695134 Change-Id: I2f5753720ec3c838a4dd8b6aabf1050c6935ef3d
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