rules_java: Explicitly pass in the apparent repo name in local_jdk_repository

Instead of trying to parse it out of the canonical repo name and splitting on `~`. We're looking to replace `~` with `+` due to https://github.com/bazelbuild/bazel/issues/22865.

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

rules_java

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

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