-
Notifications
You must be signed in to change notification settings - Fork 48
/
.bazelrc
41 lines (34 loc) · 1.54 KB
/
.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# TODO(davido): Migrate all dependencies from WORKSPACE to MODULE.bazel
# https://issues.gerritcodereview.com/issues/303819949
common --noenable_bzlmod
build --workspace_status_command="python3 ./tools/workspace_status.py"
build --repository_cache=~/.gerritcodereview/bazel-cache/repository
build --incompatible_strict_action_env
build --action_env=PATH
build --disk_cache=~/.gerritcodereview/bazel-cache/cas
# Builds using remote_jdk17, executes using remote_jdk17 or local_jdk
build --java_language_version=17
build --java_runtime_version=remotejdk_17
build --tool_java_language_version=17
build --tool_java_runtime_version=remotejdk_17
# Builds and executes on RBE using remotejdk_17
build:remote17 --java_language_version=17
build:remote17 --java_runtime_version=remotejdk_17
build:remote17 --tool_java_language_version=17
build:remote17 --tool_java_runtime_version=remotejdk_17
build:remote17 --config=remote
# Builds using remote_jdk21, executes using remote_jdk21 or local_jdk
build:java21 --java_language_version=21
build:java21 --java_runtime_version=remotejdk_21
build:java21 --tool_java_language_version=21
build:java21 --tool_java_runtime_version=remotejdk_21
# Builds and executes on RBE using remotejdk_21
build:remote21 --java_language_version=21
build:remote21 --java_runtime_version=remotejdk_21
build:remote21 --tool_java_language_version=21
build:remote21 --tool_java_runtime_version=remotejdk_21
build:remote21 --config=remote
test --build_tests_only
test --test_output=errors
test --flaky_test_attempts=3
import %workspace%/tools/remote-bazelrc