David Pursehouse 93f7fc85e0 Fix the license for mockito
Mockito is not licensed under Apache 2, but the MIT license [1].

[1] https://github.com/mockito/mockito/blob/release/2.x/LICENSE

Change-Id: I5ed23299c7ef1d67860b84ccfd60751bc2ab15bd
2019-09-18 17:05:52 +09:00

38 lines
853 B
Python

load("@rules_java//java:defs.bzl", "java_library")
package(
default_testonly = True,
default_visibility = ["//visibility:private"],
)
java_library(
name = "mockito",
data = ["//lib:LICENSE-mockito"],
# Only exposed for plugin tests; core tests should use Easymock
visibility = ["//java/com/google/gerrit/acceptance:__pkg__"],
exports = ["@mockito//jar"],
runtime_deps = [
":byte-buddy",
":byte-buddy-agent",
":objenesis",
],
)
java_library(
name = "byte-buddy",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@byte-buddy//jar"],
)
java_library(
name = "byte-buddy-agent",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@byte-buddy-agent//jar"],
)
java_library(
name = "objenesis",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@objenesis//jar"],
)