gerrit/lib/truth/BUILD
David Pursehouse 31c82401f0 Merge branch 'stable-2.15' into stable-2.16
* stable-2.15:
  Bazel: Add fixes for --incompatible_load_{java|python}_rules_from_bzl
  Bazel: Bump minimum supported version to 0.29.0
  Lucene index configuration and docs.

Change-Id: I6c597cbc89fafece83c374e9b36c4c4c0126704f
2019-09-04 16:35:55 +09:00

60 lines
1.4 KiB
Python

load("@rules_java//java:defs.bzl", "java_library")
java_library(
name = "truth",
data = ["//lib:LICENSE-DO_NOT_DISTRIBUTE"],
visibility = ["//visibility:public"],
exports = ["@truth//jar"],
runtime_deps = [
":diffutils",
"//lib:guava",
"//lib:junit",
],
)
java_library(
name = "truth-java8-extension",
data = ["//lib:LICENSE-DO_NOT_DISTRIBUTE"],
visibility = ["//visibility:public"],
exports = ["@truth-java8-extension//jar"],
runtime_deps = [
":truth",
"//lib:guava",
],
)
java_library(
name = "truth-liteproto-extension",
data = ["//lib:LICENSE-DO_NOT_DISTRIBUTE"],
visibility = ["//visibility:private"],
exports = ["@truth-liteproto-extension//jar"],
runtime_deps = [
":truth",
"//lib:guava",
"//lib:protobuf",
],
)
java_library(
name = "diffutils",
data = ["//lib:LICENSE-DO_NOT_DISTRIBUTE"],
visibility = ["//visibility:private"],
exports = ["@diffutils//jar"],
)
java_library(
name = "truth-proto-extension",
data = ["//lib:LICENSE-DO_NOT_DISTRIBUTE"],
visibility = ["//visibility:public"],
exports = [
":truth-liteproto-extension",
"@truth-proto-extension//jar",
],
runtime_deps = [
":truth",
":truth-liteproto-extension",
"//lib:guava",
"//lib:protobuf",
],
)