Add a `java_utils.bzl` to `rules_java`

For now, this only exposes a method to tokenize javacopts. This will be useful for both internal and OSS projects once we change the type of `JavaInfo.compilation_info.javac_opts` to a `depset`.

PiperOrigin-RevId: 582301665
Change-Id: I717725ecde348cac73b6ab3050c7712b2261685b
2 files changed
tree: ad0e3c6498cd46183b1c46ec65a0942c8d4061dd
  1. .bazelci/
  2. .bcr/
  3. .github/
  4. distro/
  5. examples/
  6. java/
  7. toolchains/
  8. .bazelrc
  9. .bazelversion
  10. .gitignore
  11. AUTHORS
  12. BUILD
  13. CODEOWNERS
  14. CONTRIBUTING.md
  15. LICENSE
  16. MODULE.bazel
  17. README.md
  18. renovate.json
  19. WORKSPACE
  20. WORKSPACE.bzlmod
README.md

rules_java

  • Postsubmit Build status
  • Postsubmit + Current Bazel Incompatible Flags Build status

Java Rules for Bazel https://bazel.build.