Skip to content

Commit

Permalink
Use hermitic jdk
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingsilverfin committed Jan 10, 2024
1 parent d129e0b commit a46344b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@

try-import ./.bazel-remote-cache.rc

common --enable_platform_specific_config
common --enable_platform_specific_config --java_runtime_version=remotejdk_11

build --incompatible_strict_action_env --java_language_version=11 --javacopt='--release 11' --enable_runfiles

# Don't depend on a JAVA_HOME pointing at a system JDK
# see https://github.com/bazelbuild/rules_jvm_external/issues/445
build --repo_env=JAVA_HOME=../bazel_tools/jdk

run --incompatible_strict_action_env --java_runtime_version=remotejdk_11
test --incompatible_strict_action_env --test_env=PATH --cache_test_results=no --java_runtime_version=remotejdk_11
run --incompatible_strict_action_env
test --incompatible_strict_action_env --test_env=PATH --cache_test_results=no

build:linux --stamp --workspace_status_command=$PWD/workspace-status.sh
build:macos --stamp --workspace_status_command=$PWD/workspace-status.sh
Expand Down

0 comments on commit a46344b

Please sign in to comment.