You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As rules_jvm_external version 6.0 uses use_repo_rule which has only been introduced in Bazel 7, it should explicitly require Bazel 7 in order to show a clear and actionable error message to the user.
This can be done by adding bazel_compatibility = [">=7.0.0"], to the module() declaration in the MODULE.bazel file.
Version
Development (host) and target OS/architectures: all
Output of bazel --version: 6.x
Version of relevant rules from the WORKSPACE or MODULE.bazel file: see description
What happened?
As
rules_jvm_external
version 6.0 usesuse_repo_rule
which has only been introduced in Bazel 7, it should explicitly require Bazel 7 in order to show a clear and actionable error message to the user.This can be done by adding
bazel_compatibility = [">=7.0.0"],
to themodule()
declaration in theMODULE.bazel
file.Version
Development (host) and target OS/architectures: all
Output of
bazel --version
: 6.xVersion of relevant rules from the
WORKSPACE
orMODULE.bazel
file: see descriptionLanguage(s) and/or frameworks involved: irrelevant
How to reproduce
`bazel_dep(name = "rules_jvm_external", version = "6.0")` with Bazel 6.x.
Any other information?
No response
The text was updated successfully, but these errors were encountered: