forked from georgewfraser/java-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc
34 lines (28 loc) · 1.22 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
common --enable_platform_specific_config
common --symlink_prefix=.bazel/
# Enable Java 21 language features
build --java_runtime_version=21
build --java_language_version=21
build --tool_java_language_version=21
build --tool_java_runtime_version=21
build --tool_java_runtime_version=remotejdk_21
# Rules TS
common --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
common --@aspect_rules_ts//ts:default_to_tsc_transpiler
# CI UI optimisations
common --show_progress_rate_limit=0.05
common:ci --show_progress_rate_limit=1
# For integration tests
common --deleted_packages examples/bazel-project/hello
common --deleted_packages examples/bazel-project-broken/broken
common --deleted_packages examples/bazel-project-broken/hello
common --deleted_packages examples/bazel-protos-project/hello
common --deleted_packages examples/bazel-protos-project/protos
# For hermetic CC toolchains
# TODO Use a hermetic cache
build:linux --sandbox_add_mount_pair=/tmp
build:macos --sandbox_add_mount_pair=/var/tmp
build:windows --sandbox_add_mount_pair=C:\Temp
#build --sandbox_add_mount_pair=%workspace%/.bazel/zig-cache
#build --repo_env=HERMETIC_CC_TOOLCHAIN_CACHE_PREFIX=%workspace%/.bazel/zig-cache
build --action_env BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1