forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc
25 lines (19 loc) · 928 Bytes
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
try-import .bazelrc.local
# Set the default java toolchain
build --java_toolchain=@bazel_tools//tools/jdk:toolchain_java8
test --java_toolchain=@bazel_tools//tools/jdk:toolchain_java8
# We target java 8 by default
build --javacopt "-source 8"
build --javacopt "-target 8"
# Require java dependencies to be used and first-order
build --strict_java_deps strict
# Make sure we get something helpful when tests fail
test --verbose_failures
test --test_output=errors
# Need to be able to open sockets on localhost
test --noexperimental_sandbox_default_allow_network
# Turn on the "Managed Directories" feature.
# This allows Bazel to share the same node_modules directory with other tools
# NB: this option was introduced in Bazel 0.26
# See https://docs.bazel.build/versions/master/command-line-reference.html#flag--experimental_allow_incremental_repository_updates
common --experimental_allow_incremental_repository_updates