Set JGit javadoc version to released version
The _DOC_VERS variable should not be set to the same as _JGIT_VERS when the latter is referencing a snapshot version. In this case the generated Javadoc URL does not exist, causing a warning during the api build, for example: javadoc: warning - Error fetching URL: http://download.eclipse.org/jgit/site/4.8.0.201706111038-r.71-g45da0fc6f/apidocs/ Change-Id: I147b736316852a0a7d8b7ca3bc25f2c6f2bc2969
This commit is contained in:
@@ -2,7 +2,7 @@ load("//tools/bzl:maven_jar.bzl", "GERRIT", "MAVEN_LOCAL", "MAVEN_CENTRAL", "mav
|
||||
|
||||
_JGIT_VERS = "4.8.0.201706111038-r.71-g45da0fc6f"
|
||||
|
||||
_DOC_VERS = _JGIT_VERS # Set to _JGIT_VERS unless using a snapshot
|
||||
_DOC_VERS = "4.8.0.201706111038-r" # Set to _JGIT_VERS unless using a snapshot
|
||||
|
||||
JGIT_DOC_URL = "http://download.eclipse.org/jgit/site/" + _DOC_VERS + "/apidocs"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user