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:
		 Han-Wen Nienhuys
					Han-Wen Nienhuys
				
			
				
					committed by
					
						 David Ostrovsky
						David Ostrovsky
					
				
			
			
				
	
			
			
			 David Ostrovsky
						David Ostrovsky
					
				
			
						parent
						
							5e2f370bff
						
					
				
				
					commit
					e703f3a35a
				
			| @@ -76,3 +76,20 @@ java_binary( | ||||
|   ], | ||||
|   visibility = ['//visibility:public'], | ||||
| ) | ||||
|  | ||||
| load('//tools/bzl:javadoc.bzl', 'java_doc') | ||||
|  | ||||
| java_doc( | ||||
|   name = 'plugin-api-javadoc', | ||||
|   title = 'Gerrit Review Plugin API Documentation', | ||||
|   pkgs = ['com.google.gerrit'], | ||||
|   libs = PLUGIN_API + [ | ||||
|     '//gerrit-antlr:query_exception', | ||||
|     '//gerrit-antlr:query_parser', | ||||
|     '//gerrit-common:annotations', | ||||
|     '//gerrit-common:server', | ||||
|     '//gerrit-extension-api:api', | ||||
|     '//gerrit-gwtexpui:server', | ||||
|     '//gerrit-reviewdb:server', | ||||
|   ], | ||||
| ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user