gerrit/lib/greenmail/BUILD
David Pursehouse 185a5d89e3 Merge branch 'stable-2.16'
* stable-2.16:
  Mark greenmail as testonly
  Bazel: Fix testonly values in BUILD and .bzl files
  ListBranchesIT: Also assert on the expected ref of refs/meta/config
  Consistently define default serialVersionUID
  Scripts: Use bash in shebang
  GroupsUpdate: Evict group caches on group creation

Change-Id: Ide87f2555d458c93c351d48693af520a3a80b656
2018-12-20 22:28:53 +09:00

23 lines
538 B
Python

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": [],
}),
)