Skip to content

Commit 2348462

Browse files
committed
on workflows, avoid dep on system JDK
1 parent c47e3b2 commit 2348462

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.bazelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ common --noincompatible_disallow_empty_glob
1717
# Never Compile protoc Again
1818
common --incompatible_enable_proto_toolchain_resolution
1919

20+
# Ugh, stardoc needs to compile Java sources.
21+
# Don't depend on a JAVA_HOME pointing at a system JDK
22+
# see https://github.com/bazelbuild/rules_jvm_external/issues/445
23+
build --repo_env=JAVA_HOME=../bazel_tools/jdk
24+
2025
# verbose
2126
common:verbose --@aspect_rules_ts//ts:verbose --worker_verbose
2227

0 commit comments

Comments
 (0)