rules_java
rules_java copied to clipboard
Java rules for Bazel
``` ERROR: /BUILD:3:14: scala @// failed: Worker process returned an unparseable WorkResponse! Did you try to print something to stdout? Workers aren't allowed to do this, as it breaks the...
Since `incompatible_disallow_empty_glob` (https://github.com/bazelbuild/bazel/issues/8195) works globally it would be good ensure core rules repositories conform to this flag. By having this flag flipped in this repo it would regression test this...
One of the features of the jlink command is to allow cross-targetting of jlinked jres. For example, the host jre can target another os/arch via `host_jdk/bin/jlink --module-path target_jdk/jmods`. One solution...
I'm trying to use `remote_java_repository` with GraalVM releases on MacOS. When extracting the package the layout is of the form: ``` └── Contents ├── Home │ ├── bin │ │ ...
I'm not clear on how users are supposed to use rules_java vs. the java rules that seem to come built into Bazel. The README.md could clarify this. The special treatment...
I'm not sure but how would one add toolchains for FreeBSD? This is what I see when using Bazel 6.0.0 on FreeBSD 14-CURRENT amd64: ``` Sun Jan 01 10:13 PM...
Hi, I'm using remote JDK 11 https://github.com/bazelbuild/rules_java/blob/master/java/repositories.bzl#L154 which currently pulls version 11.0.12. Azul has released a newer version, 11.0.14, which I would like to use. I'm trying to add this...
I'm having a problem with downloading the rules java package from github, do I use a proxy to download the package and copy it into the machine. The question is...
Would you welcome a PR that adds the Bazel Java runfiles library, which is available at `@bazel_tools//tools/java/runfiles`, to `rules_java`? According to the [Starlark "Deploying rules"](https://docs.bazel.build/versions/main/skylark/deploying.html) guide, it should be available...
### Description of the problem / feature request: [`native.java_common`](https://docs.bazel.build/versions/master/skylark/lib/java_common.html) is a big chunk of Java rules logic embedded into Bazel, and required by rulesets that do complex Java compilation of...