Files
gerrit/lib/greenmail/BUILD
David Pursehouse 726b4cc796 Merge branch 'stable-2.16' into stable-3.0
* stable-2.16:
  Load proto_library from @rules_proto//proto:defs.bzl
  Update git submodules
  Bazel: Add fixes for --incompatible_load_{java|python}_rules_from_bzl
  Bazel: Bump minimum supported version to 0.29.0
  Lucene index configuration and docs.

Change-Id: I401c192096047dd5069be37f17c4a62a8ed3afb7
2019-09-05 08:17:48 +09:00

25 lines
590 B
Python

load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"])
POST_JDK8_DEPS = [":javax-activation"]
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 = select({
"//:java9": POST_JDK8_DEPS,
"//:java_next": POST_JDK8_DEPS,
"//conditions:default": [],
}),
)