
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
10 lines
266 B
Python
10 lines
266 B
Python
load("//lib/jgit:jgit.bzl", "jgit_dep")
|
|
|
|
java_library(
|
|
name = "jgit-archive",
|
|
data = ["//lib:LICENSE-jgit"],
|
|
visibility = ["//visibility:public"],
|
|
exports = [jgit_dep("@jgit_archive//jar")],
|
|
runtime_deps = ["//lib/jgit/org.eclipse.jgit:jgit"],
|
|
)
|