Files
gerrit/lib/jgit/org.eclipse.jgit/BUILD
Yuxuan 'fishy' Wang 75b98f77d9 bazel: add license to appropriate lib/ targets
This is to prepare for implementing genlicenses rule in bazel.

Change-Id: I60d79d5b53f9dd05c9f9ebfe6e6f658604c5a037
2016-09-26 16:42:38 +08:00

23 lines
456 B
Python

load('//tools/bzl:unsign.bzl', 'unsign_jars')
java_library(
name = 'jgit-signed',
exports = ['@jgit//jar'],
runtime_deps = [':ewah'],
visibility = ['//visibility:public'],
data = ['//lib:LICENSE-jgit'],
)
java_library(
name = 'ewah',
exports = ['@ewah//jar'],
visibility = ['//visibility:public'],
data = ['//lib:LICENSE-Apache2.0'],
)
unsign_jars(
name = 'jgit',
deps = [':jgit-signed'],
visibility = ['//visibility:public'],
)