Skip to content

Do not enable use_all_repos for toolchains extension#191

Closed
fmeum wants to merge 1 commit into
bazelbuild:masterfrom
fmeum:fix-tidy
Closed

Do not enable use_all_repos for toolchains extension#191
fmeum wants to merge 1 commit into
bazelbuild:masterfrom
fmeum:fix-tidy

Conversation

@fmeum
Copy link
Copy Markdown
Contributor

@fmeum fmeum commented May 17, 2024

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.

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.
@fmeum fmeum requested review from a team and comius as code owners May 17, 2024 07:36
@comius comius requested review from hvadehra and removed request for comius May 17, 2024 07:39
@fmeum
Copy link
Copy Markdown
Contributor Author

fmeum commented May 17, 2024

@hvadehra Sorry for messing this up, I noticed it when I saw the warning pop up on Bazel itself. As it would make bazel mod tidy behave weirdly, we might need a 7.6.1 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants