Skip to content

Commit 10a8662

Browse files
committed
turn off strict java deps on macos
This causes a warning instead of an error for strict Java dependencies on MacOS. This is a temporary workaround for #299 and should be removed as soon as that issue is resolved.
1 parent c2c5ffa commit 10a8662

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/.bazelrc

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ build --java_language_version=11
1212
build --tool_java_runtime_version=nixpkgs_java_11
1313
build --tool_java_language_version=11
1414

15+
# The following lines provide a workaround for a test failure in on the Java
16+
# toolchain on MacOS 11, documented here: https://github.com/tweag/rules_nixpkgs/issues/299.
17+
# They should be removed as soon as that issue has been resolved.
18+
build --enable_platform_specific_config
19+
build:macos --experimental_strict_java_deps=warn
20+
1521
# User Configuration
1622
# ------------------
1723
try-import %workspace%/.bazelrc.local

0 commit comments

Comments
 (0)