forked from avibryant/bazel-scala-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.bazelrc
20 lines (16 loc) · 718 Bytes
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
build --disk_cache=~/.cache/bazel/disk_cache
test --disk_cache=~/.cache/bazel/disk_cache
coverage --disk_cache=~/.cache/bazel/disk_cache
build --java_language_version=21
build --java_runtime_version=21
build --tool_java_language_version=21
build --tool_java_runtime_version=21
# Do not use bzlmod just yet.
common --noenable_bzlmod
common --enable_workspace
# Disable build without the bytes. Causes issues with Scalafmt.
# https://github.com/bazelbuild/rules_scala/issues/1525
# https://github.com/bazelbuild/bazel/commit/9c96529fca4a135c162e35ce2882834b879438fb
common --remote_download_all
coverage --combined_report=lcov
coverage --instrumentation_filter="-/javatests[/:],-/test/java[/:],-/test/scala[/:],^//"