diff --git a/third_party/java/diffutils/BUILD b/third_party/java/diffutils/BUILD new file mode 100644 index 0000000..642f16d --- /dev/null +++ b/third_party/java/diffutils/BUILD @@ -0,0 +1,26 @@ +# Copyright (C) 2018 The Google Bazel Common Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# BUILD rules for https://github.com/google/truth + +load("@rules_java//java:defs.bzl", "java_library") + +package(default_visibility = ["//visibility:public"]) + +java_library( + name = "diffutils", + exports = [ + "@com_googlecode_java_diff_utils_diffutils//jar", + ], +) diff --git a/third_party/java/truth/BUILD b/third_party/java/truth/BUILD index a2417c8..56fd59f 100644 --- a/third_party/java/truth/BUILD +++ b/third_party/java/truth/BUILD @@ -25,13 +25,15 @@ java_library( "@com_google_truth_extensions_truth_java8_extension//jar", "@com_google_truth_truth//jar", ], + runtime_deps = [ + "//third_party/java/diffutils", + ], ) java_library( name = "truth8", testonly = 1, exports = [ - "@com_google_truth_extensions_truth_java8_extension//jar", - "@com_google_truth_truth//jar", + ":truth", ], )