mirror of
https://github.com/google/guice.git
synced 2024-04-21 12:32:36 +00:00
Add truth's java8 extensions to the external bzl & maven build and update the version we use.
PiperOrigin-RevId: 525459640
This commit is contained in:
@@ -60,7 +60,13 @@ maven_install(
|
||||
maven.artifact(
|
||||
"com.google.truth",
|
||||
"truth",
|
||||
"0.45",
|
||||
"1.1.3",
|
||||
testonly = True,
|
||||
),
|
||||
maven.artifact(
|
||||
"com.google.truth.extensions",
|
||||
"truth-java8-extension",
|
||||
"1.1.3",
|
||||
testonly = True,
|
||||
),
|
||||
maven.artifact(
|
||||
|
||||
@@ -68,6 +68,11 @@
|
||||
<artifactId>truth</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.truth.extensions</groupId>
|
||||
<artifactId>truth-java8-extension</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -170,7 +170,13 @@ See the Apache License Version 2.0 for the specific language governing permissio
|
||||
<dependency>
|
||||
<groupId>com.google.truth</groupId>
|
||||
<artifactId>truth</artifactId>
|
||||
<version>0.45</version>
|
||||
<version>1.1.3</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.truth.extensions</groupId>
|
||||
<artifactId>truth-java8-extension</artifactId>
|
||||
<version>1.1.3</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
Vendored
+11
-2
@@ -1,6 +1,15 @@
|
||||
load("@rules_java//java:defs.bzl", "java_library")
|
||||
|
||||
package(default_visibility = ["//:src"])
|
||||
|
||||
alias(
|
||||
java_library(
|
||||
name = "truth",
|
||||
actual = "@maven//:com_google_truth_truth",
|
||||
testonly = True,
|
||||
exports = [
|
||||
"@maven//:com_google_truth_extensions_truth_java8_extension",
|
||||
"@maven//:com_google_truth_truth",
|
||||
],
|
||||
runtime_deps = [
|
||||
"//third_party/java/asm",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user