-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bazelrc
More file actions
58 lines (46 loc) · 2.37 KB
/
.bazelrc
File metadata and controls
58 lines (46 loc) · 2.37 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Import Aspect bazelrc presets
import %workspace%/.aspect/bazelrc/bazel7.bazelrc
import %workspace%/.aspect/bazelrc/convenience.bazelrc
import %workspace%/.aspect/bazelrc/correctness.bazelrc
import %workspace%/.aspect/bazelrc/debug.bazelrc
import %workspace%/.aspect/bazelrc/javascript.bazelrc
import %workspace%/.aspect/bazelrc/performance.bazelrc
common --lockfile_mode=off
common --enable_bzlmod
## Direct overrides from Aspect best practice
build --sandbox_default_allow_network=true # spring-boot tests need to be tagged as requires-network
build --legacy_external_runfiles # https://github.com/bazelbuild/rules_kotlin/issues/924
# End overrides
# Path mapping, see #2259 for more information
common --experimental_output_paths=strip
common --worker_sandboxing
common --noexperimental_worker_multiplex
common --experimental_platform_in_output_dir # replaces cpu with platform in output path, so we get consistent paths across platforms
common --remote_download_toplevel # download as little as possible from remote cache
common --experimental_java_classpath=bazel
common --java_language_version=21
common --java_runtime_version=remotejdk_21
common --tool_java_language_version=21
common --tool_java_runtime_version=remotejdk_21
common --incompatible_use_plus_in_repo_names
build --modify_execution_info=PackageTar=+no-remote,OCIImage=+no-remote,JsImageLayer=+no-remote
build --heap_dump_on_oom
## https://github.com/bazelbuild/bazel/issues/7260 rules_js needs to update cpp toolchain resolution
build --noincompatible_enable_cc_toolchain_resolution
test --sandbox_tmpfs_path=/tmp
common --experimental_inprocess_symlink_creation
build:release --stamp
build:release --workspace_status_command=build-tools/get_workspace_status
run:release --stamp
run:release --workspace_status_command=build-tools/get_workspace_status
# honor the setting of `skipLibCheck` in the tsconfig.json file
build --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
fetch --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
query --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
# Use "tsc" as the transpiler when ts_project has no `transpiler` set.
build --@aspect_rules_ts//ts:default_to_tsc_transpiler
fetch --@aspect_rules_ts//ts:default_to_tsc_transpiler
query --@aspect_rules_ts//ts:default_to_tsc_transpiler
common:macos --platforms=//:darwin_arm64
common:linux --platforms=//:linux_x64
try-import %workspace%/.user.bazelrc