java: use JDK 11

This is needed for newer versions of the gerrit owners plugin.

We also need to add zlib to our shell, as binary builds of JDK11 used by
Bazel require it.

Change-Id: Idbbc5e0d88cac13daf2e5f201be6032412bf1a5d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1641
Reviewed-by: implr <implr@hackerspace.pl>
changes/41/1641/3
q3k 2023-10-08 12:28:06 +00:00 committed by q3k
parent e4519b1419
commit d9567b3b99
2 changed files with 2 additions and 0 deletions

View File

@ -8,3 +8,4 @@ test --build_tests_only
test --test_output=errors
build --cxxopt=-std=c++14
build --host_cxxopt=-std=c++14
build --java_language_version=11

View File

@ -65,6 +65,7 @@ in (pkgs.buildFHSUserEnv {
vim
openssh
libxcrypt
zlib
];
multiPkgs = pkgs: [
(pkgs.runCommand "protocols" {}