Update Bazel's copy of truth to 1.0.1.
Also update //third_party:truth to also export //third_party:truth8, so
users don't need to specify both dependencies.
RELNOTES: None.
diff --git a/third_party/BUILD b/third_party/BUILD
index 7e020b5..36bd016 100644
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -486,9 +486,9 @@
srcs = ["netty_tcnative/netty-tcnative-boringssl-static-2.0.24.Final.jar"],
outs = ["netty_tcnative/netty-tcnative-filtered.jar"],
cmd = "cp $< $@ && " +
- # End successfully if there is nothing to be deleted from the archive
- "if [ -n '" + UNNECESSARY_DYNAMIC_LIBRARIES + "' ]; then " +
- "zip -qd $@ " + UNNECESSARY_DYNAMIC_LIBRARIES + "; fi",
+ # End successfully if there is nothing to be deleted from the archive
+ "if [ -n '" + UNNECESSARY_DYNAMIC_LIBRARIES + "' ]; then " +
+ "zip -qd $@ " + UNNECESSARY_DYNAMIC_LIBRARIES + "; fi",
)
java_import(
@@ -558,7 +558,10 @@
java_import(
name = "truth",
- jars = ["truth/truth-0.45.jar"],
+ jars = ["truth/truth-1.0.1.jar"],
+ exports = [
+ ":truth8",
+ ],
deps = [
":diffutils",
],
@@ -566,7 +569,7 @@
java_import(
name = "truth8",
- jars = ["truth8/truth-java8-extension-0.45.jar"],
+ jars = ["truth8/truth-java8-extension-1.0.1.jar"],
)
java_import(
diff --git a/third_party/truth/truth-0.45.jar b/third_party/truth/truth-0.45.jar
deleted file mode 100644
index 76e4da8..0000000
--- a/third_party/truth/truth-0.45.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/truth/truth-1.0.1.jar b/third_party/truth/truth-1.0.1.jar
new file mode 100644
index 0000000..7eb4389
--- /dev/null
+++ b/third_party/truth/truth-1.0.1.jar
Binary files differ
diff --git a/third_party/truth8/truth-java8-extension-0.45.jar b/third_party/truth8/truth-java8-extension-0.45.jar
deleted file mode 100644
index 958c2a7..0000000
--- a/third_party/truth8/truth-java8-extension-0.45.jar
+++ /dev/null
Binary files differ
diff --git a/third_party/truth8/truth-java8-extension-1.0.1.jar b/third_party/truth8/truth-java8-extension-1.0.1.jar
new file mode 100644
index 0000000..e48babe
--- /dev/null
+++ b/third_party/truth8/truth-java8-extension-1.0.1.jar
Binary files differ