Bazel: Externalize JGIT_VERS constant
This is needed for defining external documentation link for javadoc rule. Change-Id: I562de840327c6b27941f7238023a47eb8d0b2394
This commit is contained in:
committed by
David Ostrovsky
parent
e48abffbca
commit
27fbb2b835
@@ -1,3 +1,4 @@
|
||||
load('//lib/jgit:jgit.bzl', 'JGIT_DOC_URL')
|
||||
load('//tools/bzl:gwt.bzl', 'gwt_module')
|
||||
|
||||
SRC = 'src/main/java/com/google/gerrit/extensions/'
|
||||
@@ -52,4 +53,5 @@ java_doc(
|
||||
title = 'Gerrit Review Extension API Documentation',
|
||||
libs = [':api'],
|
||||
pkgs = ['com.google.gerrit.extensions'],
|
||||
external_docs = [JGIT_DOC_URL],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user