blob: 5d7e65e10c4228716200ebcfce9723e9245a2d1d [file] [log] [blame]
load("@rules_java//java:defs.bzl", "java_library")
load("//javatests/com/google/gerrit/acceptance:tests.bzl", "acceptance_tests")
DEPS = [
"//lib/greenmail",
"//lib/mail",
"//java/com/google/gerrit/mail",
]
acceptance_tests(
srcs = glob(
["*IT.java"],
exclude = ["AbstractMailIT.java"],
),
group = "server_mail",
labels = [
"no_windows",
"server",
],
deps = DEPS + [":util"],
)
java_library(
name = "util",
testonly = True,
srcs = ["AbstractMailIT.java"],
deps = DEPS + ["//java/com/google/gerrit/acceptance:lib"],
)