rules_java icon indicating copy to clipboard operation
rules_java copied to clipboard

Java rules for Bazel

Results 33 rules_java issues
Sort by recently updated
recently updated
newest added

I am getting different behaviors when running a java_binary using bazel build and bazel run. ``` java_library( name = "artifact", srcs = glob(["src/main/java/**/*.java"]), javacopts = [ "-source", "21", "-target", "21",...

P2

This will, in a follow-up, allow us to create and link `java_{binary,test}#laucher` as the docs suggest. Unfortunately, `JavaInfo#transitive_native_libraries` fails to propagate sufficient information about transitive dependencies of the native libraries,...

### Description of the feature request: Introduce a new attribute, tentatively named `java_compiler_inputs`, that would specifically hold references to compile-time input files. Additionally, provide support for expanding these file paths...

P2