Files
gerrit/lib/jgit/org.eclipse.jgit.junit/BUILD
David Pursehouse f86cc5eb4f Bazel: Fix testonly values in BUILD and .bzl files
According to the documentation [1], the expected values for testonly
are True and False. Replace all the current usages of "1" with "True".

[1] https://docs.bazel.build/versions/master/be/common-definitions.html

Change-Id: I89417f6f9d56e126a6b05edeaaa946934799ab23
2018-12-20 19:48:41 +09:00

11 lines
291 B
Python

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