Update bucklets and adjust java_doc invocation to changed signature This bucklets series [1] syncronizes the java_doc bucklet rules with core Gerrit behaviour. This is needed to allow the same Gerrit plugin build rules to be shared in both in Gerrit tree and standalone build modes. [1] https://gerrit-review.googlesource.com/#/q/topic:javadoc Change-Id: I0c4a1dbf8fa4f63bb02cba1dd9f933fdd632dd93
diff --git a/gitiles-servlet/BUCK b/gitiles-servlet/BUCK index 6e89181..8a0de1f 100644 --- a/gitiles-servlet/BUCK +++ b/gitiles-servlet/BUCK
@@ -64,7 +64,7 @@ java_doc( name = 'javadoc', title = 'Gitiles API Documentation', - pkg = 'com.google.gitiles', + pkgs = ['com.google.gitiles'], paths = ['gitiles-servlet/src/main/java'], srcs = SRCS, deps = DEPS + [ @@ -75,4 +75,5 @@ '//lib:servlet-api_2_5', ], visibility = ['PUBLIC'], + do_it_wrong = True, )