To support tests execution on Java 11, without using Java 11 toolchain additional parameters must be passed. The use case is building on host Java 11. This is needed to bump host Java version to Java 11 on Gerrit CI. Test Plan: 1. Install Java 11 (only) $ java -fullversion openjdk full version "11.0.5+10-post-Debian-1deb10u1" 2. Execute tests and confirm that all tests are passing $ bazelisk test //... Change-Id: I97c244052f353eb61053a5f4f36a5ee646b8be9c
19 lines
444 B
Python
19 lines
444 B
Python
load("@rules_java//java:defs.bzl", "java_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
java_library(
|
|
name = "javax-activation",
|
|
testonly = True,
|
|
data = ["//lib:LICENSE-DO_NOT_DISTRIBUTE"],
|
|
exports = ["@javax-activation//jar"],
|
|
)
|
|
|
|
java_library(
|
|
name = "greenmail",
|
|
testonly = True,
|
|
data = ["//lib:LICENSE-Apache2.0"],
|
|
exports = ["@greenmail//jar"],
|
|
runtime_deps = [":javax-activation"],
|
|
)
|