Skip to content

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

Merged
smukherj1 merged 1 commit into
bazelbuild:masterfrom
smukherj1:master
Nov 30, 2021
Merged

smukherj1 merged 1 commit into
bazelbuild:masterfrom
smukherj1:master

Conversation

@smukherj1

Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Collaborator Author

FYI @coeuvre @philwo

@smukherj1
smukherj1 merged commit df2a966 into bazelbuild:master Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants