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/bucklets b/bucklets
index dd43fb6..251c579 160000
--- a/bucklets
+++ b/bucklets
@@ -1 +1 @@
-Subproject commit dd43fb659389754ed86baadf3a47c7cd2ff76e83
+Subproject commit 251c579e99e234a2af28ac660df1ef96c1220eca
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,
)