You can download truth-1.0.jar in this page.
Google Open Source
truth-1.0.jar file has the following types.
META-INF/MANIFEST.MF META-INF/maven/com.google.truth/truth/pom.properties META-INF/maven/com.google.truth/truth/pom.xml com.google.common.truth.AbstractArraySubject.class com.google.common.truth.ActualValueInference.class com.google.common.truth.AssertionErrorWithFacts.class com.google.common.truth.AutoValue_ActualValueInference_DescribedEntry.class com.google.common.truth.AutoValue_ActualValueInference_FrameInfo.class com.google.common.truth.AutoValue_ActualValueInference_InferredType.class com.google.common.truth.AutoValue_ActualValueInference_Invocation.class com.google.common.truth.AutoValue_ActualValueInference_OpaqueEntry.class com.google.common.truth.AutoValue_ActualValueInference_SubjectEntry.class com.google.common.truth.BigDecimalSubject.class com.google.common.truth.BooleanSubject.class com.google.common.truth.ClassSubject.class com.google.common.truth.ComparableSubject.class com.google.common.truth.ComparisonFailureWithFacts.class com.google.common.truth.Correspondence.class com.google.common.truth.CustomSubjectBuilder.class com.google.common.truth.DoubleSubject.class com.google.common.truth.ErrorWithFacts.class com.google.common.truth.Expect.class com.google.common.truth.ExpectFailure.class com.google.common.truth.Fact.class com.google.common.truth.Facts.class com.google.common.truth.FailureMetadata.class com.google.common.truth.FailureStrategy.class com.google.common.truth.FloatSubject.class com.google.common.truth.GraphMatching.class com.google.common.truth.GuavaOptionalSubject.class com.google.common.truth.IntegerSubject.class com.google.common.truth.IterableSubject.class com.google.common.truth.LazyMessage.class com.google.common.truth.LongSubject.class com.google.common.truth.MapSubject.class com.google.common.truth.MathUtil.class com.google.common.truth.MultimapSubject.class com.google.common.truth.MultisetSubject.class com.google.common.truth.ObjectArraySubject.class com.google.common.truth.Ordered.class com.google.common.truth.Platform.class com.google.common.truth.PrimitiveBooleanArraySubject.class com.google.common.truth.PrimitiveByteArraySubject.class com.google.common.truth.PrimitiveCharArraySubject.class com.google.common.truth.PrimitiveDoubleArraySubject.class com.google.common.truth.PrimitiveFloatArraySubject.class com.google.common.truth.PrimitiveIntArraySubject.class com.google.common.truth.PrimitiveLongArraySubject.class com.google.common.truth.PrimitiveShortArraySubject.class com.google.common.truth.SimpleSubjectBuilder.class com.google.common.truth.StackTraceCleaner.class com.google.common.truth.StandardSubjectBuilder.class com.google.common.truth.StringSubject.class com.google.common.truth.Subject.class com.google.common.truth.SubjectUtils.class com.google.common.truth.TableSubject.class com.google.common.truth.ThrowableSubject.class com.google.common.truth.Truth.class com.google.common.truth.TruthFailureSubject.class com.google.common.truth.TruthJUnit.class com.google.common.truth.package-info.class
truth-1.0.pom file content.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.google.truth</groupId> <artifactId>truth-parent</artifactId> <version>1.0</version> </parent> <artifactId>truth</artifactId> <name>Truth Core</name> <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </dependency> <dependency> <groupId>org.checkerframework</groupId> <artifactId>checker-compat-qual</artifactId> </dependency> <!-- Manually add a dependency that guava-gwt needs but doesn't declare as of May 2018. But only in the test scope, since that's the only place that _we_ need it. _Downstream users_ might need to add it manually, as we've done here, but only until we fix guava-gwt and update Truth to use the new version. And anyway, the current setup is causing users problems, since checker-qual is built for Java 8: https://github.com/google/truth/issues/479 --> <dependency> <groupId>org.checkerframework</groupId> <artifactId>checker-qual</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>com.googlecode.java-diff-utils</groupId> <artifactId>diffutils</artifactId> </dependency> <!-- Required only to build the -gwt sub-artifact. --> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-user</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.auto.value</groupId> <artifactId>auto-value-annotations</artifactId> </dependency> <dependency> <groupId>com.google.auto.value</groupId> <artifactId>auto-value</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava-gwt</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava-testlib</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.google.testing.compile</groupId> <artifactId>compile-testing</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotations</artifactId> </dependency> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> <optional>true</optional> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/java</directory> <excludes> <exclude>**/*.java</exclude> <exclude>**/*.gwt.xml</exclude> </excludes> </resource> </resources> <testResources> <testResource><directory>src/test/java</directory></testResource> </testResources> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <excludes> <exclude>**/super/**/*.java</exclude> </excludes> <testExcludes> <testExclude>**/super/**/*.java</testExclude> </testExcludes> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <configuration> <excludes> <exclude>**/super/**</exclude> <exclude>**/*.gwt.xml</exclude> </excludes> </configuration> </plugin> <plugin> <!-- TODO(cgruber): Replace this with Gwt annotation processing plugin. --> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <id>attach-gwt-sources</id> <phase>post-integration-test</phase> <goals><goal>jar</goal></goals> <configuration> <classifier>gwt</classifier> <classesDirectory>src/main/java</classesDirectory> <includes> <include>**/*.java</include> <include>**/*.gwt.xml</include> </includes> <excludes> <exclude>com/google/common/truth/ClassSubject.java</exclude> <exclude>com/google/common/truth/Expect.java</exclude> <exclude>com/google/common/truth/IteratingVerb.java</exclude> <exclude>com/google/common/truth/ReflectionUtil.java</exclude> <exclude>com/google/common/truth/codegen/**</exclude> </excludes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/*GwtTest.java</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <executions> <execution> <id>gwt-test</id> <goals><goal>test</goal></goals> <configuration> <mode>htmlunit</mode> <htmlunit>FF38</htmlunit> <productionMode>true</productionMode> <!-- Fix OutOfMemoryError in Travis. --> <extraJvmArgs>-Xms3500m -Xmx3500m -Xss1024k</extraJvmArgs> <sourceLevel>auto</sourceLevel> <userAgents>gecko1_8</userAgents> <includes>**/*GwtTest.java</includes> <!-- Keep these timeouts very large because, if we hit the timeout, the tests silently pass :( --> <testTimeOut>86400 <!-- seconds --></testTimeOut> <testMethodTimeout>1440 <!-- minutes --></testMethodTimeout> </configuration> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.0.1</version> </plugin> </plugins> </reporting> <profiles> <profile> <id>java8</id> <activation> <jdk>[1.8,)</jdk> </activation> <properties> <javadoc.param>-Xdoclint:none</javadoc.param> </properties> </profile> </profiles> </project>
<dependency> <groupId>com.google.truth</groupId> <artifactId>truth</artifactId> <version>1.0</version> </dependency>
If you think the following truth-1.0.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.