summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm.test/.settings
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2020-11-23 20:04:07 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2020-11-28 23:29:41 +0100
commit96411d1abbf50c4ebd0c0b9158f84adf1219fffc (patch)
tree67153f1953b104c1771674080acd6e666819134a /org.eclipse.jgit.pgm.test/.settings
parent6b299d61ab5172da1e9aa6df36cc1785664b7cd1 (diff)
downloadjgit-96411d1abbf50c4ebd0c0b9158f84adf1219fffc.tar.gz
jgit-96411d1abbf50c4ebd0c0b9158f84adf1219fffc.zip
Bazel: Allow to build and run the tests with JDK 15
To avoid JDK specific bugs in future, like Bug: 568950, and given that upcoming Bazel release 4.0.0 added support to JDK 15 java toolchain, add definition for remote JDK 15 to WORKSPACE file and add build and test instructions. To build and execute the tests with JDK 15 on Linux run: $ bazelisk test \ --java_toolchain=@remote_java_tools_linux//:toolchain_jdk_15 \ --host_java_toolchain=@remote_java_tools_linux//:toolchain_jdk_15 \ --javabase=@openjdk15_linux_archive//:runtime \ --host_javabase=@openjdk15_linux_archive//:runtime \ //... To build and execute the tests with JDK 15 on Mac Os X run: $ bazelisk test \ --java_toolchain=@remote_java_tools_darwin//:toolchain_jdk_15 \ --host_java_toolchain=@remote_java_tools_darwin//:toolchain_jdk_15 \ --javabase=@openjdk15_darwin_archive//:runtime \ --host_javabase=@openjdk15_darwin_archive//:runtime \ //... To skip the options on the command line, put them in ~/.bazelrc file: build --java_toolchain=@remote_java_tools_linux//:toolchain_jdk_15 build --host_java_toolchain=@remote_java_tools_linux//:toolchain_jdk_15 build --javabase=@openjdk15_linux_archive//:runtime build --host_javabase=@openjdk15_linux_archive//:runtime Change-Id: I79d5e99f0c731847a82ce7d4c410855434d85f8d Signed-off-by: David Ostrovsky <david@ostrovsky.org>
Diffstat (limited to 'org.eclipse.jgit.pgm.test/.settings')
0 files changed, 0 insertions, 0 deletions