Use java language level to Java 11 for running tests

Following the Change-Id: I79434c657 use the same Java 11
tool_chain for running tests as well.

With this change, it isn't required to have any local Java 11
setups for being able to build and run tests using Bazel.

Running Gerrit E2E tests would still require to have a local
Java 11 JDK setup.

Change-Id: I46fdbc2032084538be676a81b26bcd0f1d436a6b
This commit is contained in:
Luca Milanesio
2020-10-06 13:44:22 +01:00
parent 86cd868059
commit 980a8f0d1b

View File

@@ -13,5 +13,6 @@ build --incompatible_strict_action_env
test --build_tests_only
test --test_output=errors
test --java_toolchain=//tools:error_prone_warnings_toolchain_java11
import %workspace%/tools/remote-bazelrc