Bazel: add java_doc rule
Add javadoc rules for plugin API: * gerrit-extension-api * gerrit-plugin-api * gerrit-acceptance-framework Note that GWT UI is not covered by Bazel build yet, so that we cannot offer gerrit-plugin-gwtui:plugin-gwtui-javadoc rule in this change. TEST PLAN: bazel build gerrit-acceptance-framework:acceptance-framework-javadoc bazel build gerrit-extension-api:extension-api-javadoc bazel build gerrit-plugin-api:plugin-api-javadoc Change-Id: I60832752010118e33eb6a06529032d86f169ee44
This commit is contained in:
committed by
David Ostrovsky
parent
5e2f370bff
commit
e703f3a35a
@@ -44,3 +44,12 @@ java_library(
|
||||
],
|
||||
visibility = ['//visibility:public'],
|
||||
)
|
||||
|
||||
load('//tools/bzl:javadoc.bzl', 'java_doc')
|
||||
|
||||
java_doc(
|
||||
name = 'extension-api-javadoc',
|
||||
title = 'Gerrit Review Extension API Documentation',
|
||||
libs = [':api'],
|
||||
pkgs = ['com.google.gerrit.extensions'],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user