Merge changes from topic "testonly-cleanup" into stable-2.16

* changes:
  Mark greenmail as testonly
  Bazel: Fix testonly values in BUILD and .bzl files


* submodules:
* Update plugins/replication from branch 'stable-2.16'
  to fe4162b8c38d2a817a98effd0748d045872edef7
  - Bazel: Fix testonly value in BUILD file
    
    According to the documentation [1], the expected values for testonly
    are True and False. Replace the currently used "1" with "True".
    
    [1] https://docs.bazel.build/versions/master/be/common-definitions.html
    
    Change-Id: I824b91afc5cd7e379c1f303464d4342a3b2df014
This commit is contained in:
David Pursehouse
2018-12-20 13:08:55 +00:00
committed by Gerrit Code Review
35 changed files with 41 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
package(default_testonly = 1)
package(default_testonly = True)
java_library(
name = "testing",

View File

@@ -2,7 +2,7 @@ package(default_visibility = ["//visibility:public"])
java_library(
name = "testing",
testonly = 1,
testonly = True,
srcs = glob(["*.java"]),
deps = [
"//java/com/google/gerrit/common:server",

View File

@@ -2,7 +2,7 @@ package(default_visibility = ["//visibility:public"])
java_library(
name = "testing",
testonly = 1,
testonly = True,
srcs = glob(["*.java"]),
deps = [
"//java/com/google/gerrit/common:server",

View File

@@ -1,6 +1,6 @@
java_library(
name = "project-test-util",
testonly = 1,
testonly = True,
srcs = glob(["*.java"]),
visibility = ["//visibility:public"],
deps = [