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
diff --git a/lib/greenmail/BUILD b/lib/greenmail/BUILD index 5d8e1d6..9cbd0eb 100644 --- a/lib/greenmail/BUILD +++ b/lib/greenmail/BUILD
@@ -4,14 +4,14 @@ java_library( name = "javax-activation", - testonly = 1, + testonly = True, data = ["//lib:LICENSE-DO_NOT_DISTRIBUTE"], exports = ["@javax-activation//jar"], ) java_library( name = "greenmail", - testonly = 1, + testonly = True, data = ["//lib:LICENSE-Apache2.0"], exports = ["@greenmail//jar"], runtime_deps = select({
diff --git a/lib/jgit/org.eclipse.jgit.junit/BUILD b/lib/jgit/org.eclipse.jgit.junit/BUILD index 85e9167..29d80d3 100644 --- a/lib/jgit/org.eclipse.jgit.junit/BUILD +++ b/lib/jgit/org.eclipse.jgit.junit/BUILD
@@ -2,7 +2,7 @@ java_library( name = "junit", - testonly = 1, + testonly = True, data = ["//lib:LICENSE-DO_NOT_DISTRIBUTE"], visibility = ["//visibility:public"], exports = [jgit_dep("@jgit-junit//jar")],
diff --git a/lib/mockito/BUILD b/lib/mockito/BUILD index 7448462..df7537b 100644 --- a/lib/mockito/BUILD +++ b/lib/mockito/BUILD
@@ -1,5 +1,5 @@ package( - default_testonly = 1, + default_testonly = True, default_visibility = ["//visibility:private"], )
diff --git a/lib/testcontainers/BUILD b/lib/testcontainers/BUILD index 5e2d039..25ca327 100644 --- a/lib/testcontainers/BUILD +++ b/lib/testcontainers/BUILD
@@ -38,7 +38,7 @@ java_library( name = "testcontainers-elasticsearch", - testonly = 1, + testonly = True, data = ["//lib:LICENSE-testcontainers"], visibility = ["//visibility:public"], exports = ["@testcontainers-elasticsearch//jar"],