
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
11 lines
291 B
Python
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"],
|
|
)
|