Move all JGit related definitions to lib/jgit/jgit.bzl

Move the definitions of the JGit repository and the artifact hashes into
the lib/jgit/jgit.bzl file so that when we change the JGit version we can
make all the necessary modifications in one place.

Change-Id: I4cb97481d62a57bfca960392d696aae3c95c6bb7
This commit is contained in:
David Pursehouse
2017-03-09 10:13:50 +09:00
parent ee125e974e
commit f32625ac90
2 changed files with 24 additions and 10 deletions

View File

@@ -1,5 +1,19 @@
load("//tools/bzl:maven_jar.bzl", "GERRIT", "MAVEN_LOCAL", "MAVEN_CENTRAL")
JGIT_VERS = "4.6.0.201612231935-r.30-gd3148f300"
DOC_VERS = "4.6.0.201612231935-r" # Set to JGIT_VERS unless using a snapshot
JGIT_DOC_URL = "http://download.eclipse.org/jgit/site/" + DOC_VERS + "/apidocs"
JGIT_REPO = GERRIT # Leave here even if set to MAVEN_CENTRAL.
JGIT_SHA1 = "a2b5970b853f8fee64589fc1103c0ceb7677ba63"
JGIT_SRC_SHA1 = "765f955774c36c226aa41fba7c20119451de2db7"
JGIT_SERVLET_SHA1 = "d3aa54bd610db9a5c246aa8fef13989982c98628"
JGIT_ARCHIVE_SHA1 = "a728cf277396f1227c5a8dffcf5dee0188fc0821"
JGIT_JUNIT_SHA1 = "6c2b2f192c95d25a2e1576aee5d1169dd8bd2266"