bazelbuild / bazel-toolchains

Repository that hosts Bazel toolchain configs for remote execution and related support tools.
Apache License 2.0
184 stars 96 forks source link

Add flag to force java rule bypassing the bazel version check #977

Closed smukherj1 closed 2 years ago

smukherj1 commented 2 years ago

Forces the generated java toolchain rule to use the local_java_runtime rule instead of the older java_runtime rule. Currently, the tool infers this automatically from the given Bazel version but in some cases (e.g., Bazel nightly builds), the version string is blank and the new flags gives us the ability to force the new rule.

smukherj1 commented 2 years ago

FYI @coeuvre @philwo