Do not enable `use_all_repos` for toolchains extension

Copybara Import from https://github.com/bazelbuild/rules_java/pull/191

BEGIN_PUBLIC
Do not enable `use_all_repos` for toolchains extension (#191)

The toolchain extension isn't internal to rules_java as users have to `use_extension` it to get a reference to `local_jdk`. They should not see a warning about not importing all the other repos, which comes with `modules.as_extension` due to its use of `use_all_repos`. Instead, just declare the extension as reproducible.

Closes #191
END_PUBLIC

COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_java/pull/191 from fmeum:fix-tidy b947cdca9a5b700ff6d67f2fafc5a46e6793297e
PiperOrigin-RevId: 634674703
Change-Id: Ia67ffc32262011ae997bdeda80dbc29ff3128264
2 files changed
tree: c788c58d38ee0f0196d20ef8721462540eb49a20
  1. .bazel_checkout/
  2. .bazelci/
  3. .bcr/
  4. .github/
  5. distro/
  6. examples/
  7. java/
  8. toolchains/
  9. .bazelrc
  10. .bazelversion
  11. .gitignore
  12. AUTHORS
  13. BUILD
  14. CODEOWNERS
  15. CONTRIBUTING.md
  16. LICENSE
  17. MODULE.bazel
  18. README.md
  19. renovate.json
  20. WORKSPACE
  21. WORKSPACE.bzlmod
README.md

rules_java

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

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