This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
/
.bazelrc
17 lines (14 loc) · 3.61 KB
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
build --java_language_version=11
build --tool_java_language_version=11
build --javacopt="-Xep:WildcardImport:ERROR"
common --enable_bzlmod
# To update these lines, execute
# `bazel run @rules_bazel_integration_test//tools:update_deleted_packages`
build --deleted_packages=.bazelbsp,.bazelbsp/aspects,e2e/test-resources/android-kotlin-project/src/main,e2e/test-resources/android-kotlin-project/src/main/java/com/example/myapplication,e2e/test-resources/android-kotlin-project/src/test/java/com/example/myapplication,e2e/test-resources/android-project/src/main,e2e/test-resources/android-project/src/main/java/com/example/myapplication,e2e/test-resources/android-project/src/test/java/com/example/myapplication,e2e/test-resources/cpp-project/example,e2e/test-resources/enabled-rules-project/langs,e2e/test-resources/enabled-rules-project/scala_targets,e2e/test-resources/kotlin-project,e2e/test-resources/kotlin-project/kotlinc_test,e2e/test-resources/kotlin-project/plugin_allopen_test,e2e/test-resources/local-jdk-project/example,e2e/test-resources/python-project/example,e2e/test-resources/python-project/lib,e2e/test-resources/python-project/test,e2e/test-resources/remote-jdk-project/example,e2e/test-resources/rust-project,e2e/test-resources/rust-project/example,e2e/test-resources/rust-project/example-lib,e2e/test-resources/sample-repo/environment_variables,e2e/test-resources/sample-repo/java_targets,e2e/test-resources/sample-repo/java_targets/subpackage,e2e/test-resources/sample-repo/manual_target,e2e/test-resources/sample-repo/scala_targets,e2e/test-resources/sample-repo/target_with_dependency,e2e/test-resources/sample-repo/target_with_resources,e2e/test-resources/sample-repo/target_without_args,e2e/test-resources/sample-repo/target_without_jvm_flags,e2e/test-resources/sample-repo/target_without_main_class
query --deleted_packages=.bazelbsp,.bazelbsp/aspects,e2e/test-resources/android-kotlin-project/src/main,e2e/test-resources/android-kotlin-project/src/main/java/com/example/myapplication,e2e/test-resources/android-kotlin-project/src/test/java/com/example/myapplication,e2e/test-resources/android-project/src/main,e2e/test-resources/android-project/src/main/java/com/example/myapplication,e2e/test-resources/android-project/src/test/java/com/example/myapplication,e2e/test-resources/cpp-project/example,e2e/test-resources/enabled-rules-project/langs,e2e/test-resources/enabled-rules-project/scala_targets,e2e/test-resources/kotlin-project,e2e/test-resources/kotlin-project/kotlinc_test,e2e/test-resources/kotlin-project/plugin_allopen_test,e2e/test-resources/local-jdk-project/example,e2e/test-resources/python-project/example,e2e/test-resources/python-project/lib,e2e/test-resources/python-project/test,e2e/test-resources/remote-jdk-project/example,e2e/test-resources/rust-project,e2e/test-resources/rust-project/example,e2e/test-resources/rust-project/example-lib,e2e/test-resources/sample-repo/environment_variables,e2e/test-resources/sample-repo/java_targets,e2e/test-resources/sample-repo/java_targets/subpackage,e2e/test-resources/sample-repo/manual_target,e2e/test-resources/sample-repo/scala_targets,e2e/test-resources/sample-repo/target_with_dependency,e2e/test-resources/sample-repo/target_with_resources,e2e/test-resources/sample-repo/target_without_args,e2e/test-resources/sample-repo/target_without_jvm_flags,e2e/test-resources/sample-repo/target_without_main_class
# From https://docs.aspect.build/guides/bazelrc/
build --incompatible_strict_action_env
startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
build --noexperimental_check_output_files
build --noexperimental_check_external_repository_files
build --experimental_reuse_sandbox_directories