Skip to content

Commit

Permalink
[bazel] Use newer mechanism for hermetic java toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Feb 15, 2021
1 parent 152c4cd commit 08c3874
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ build --flag_alias=pin_browsers=//common:pin_browsers
build --flag_alias=headless=//common:headless

# Set the default java toolchain
build --java_toolchain=@bazel_tools//tools/jdk:toolchain_java11
build --java_runtime_version=remotejdk_11
build --tool_java_language_version=11

# We target java 8 by default
build --javacopt="--release 8"
Expand Down

0 comments on commit 08c3874

Please sign in to comment.