Han-Wen Nienhuys fe81f93215 Simplify local JGit development
Put all the logic in jgit.bzl, where a single edit suffices to get
the local flavor.

Given that all sha1 for jgit dependencies are in jgit.bzl, we can
remove the constants and use sha1 values directly.

Change-Id: Icabf651e02f226e5c025457d54588074a11ae283
2017-03-24 08:36:18 +09:00

11 lines
288 B
Python

load("//lib/jgit:jgit.bzl", "jgit_dep")
java_library(
name = "junit",
testonly = 1,
data = ["//lib:LICENSE-DO_NOT_DISTRIBUTE"],
visibility = ["//visibility:public"],
exports = [jgit_dep("@jgit_junit//jar")],
runtime_deps = ["//lib/jgit/org.eclipse.jgit:jgit"],
)