Skip to content

Commit

Permalink
Update Java flags as per bazelbuild/bazel#7849 migration notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathon Belotti committed May 10, 2022
1 parent 1a74884 commit a884ea4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
build --test_output=all

common --incompatible_java_common_parameters=false

# Note: Needed on my personal laptop
# Workaround for https://github.com/bazelbuild/bazel/pull/12882. Issue should be fixed in >= 4.1.0
# common --features=-debug_prefix_map_pwd_is_dot

# Configure Java version
# --javabase set for Github Codespaces which doesn't have Java installed.
build --javabase=@bazel_tools//tools/jdk:remote_jdk11
build --java_toolchain=@bazel_tools//tools/jdk:toolchain_java11
build --java_runtime_version=remotejdk_11
build --java_language_version=11
build --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_java11

build --sandbox_default_allow_network=false
Expand Down

0 comments on commit a884ea4

Please sign in to comment.