How To Install Java Artifact com.google.truth.truth v1.0-rc2

com.google.truth truth 1.0-rc2

Introduction

In this article, we'll learn how to install Java artifact truth from com.google.truth group in version 1.0-rc2. The artifact is available in 41 versions: 1.4.2 1.4.1 1.4.0 1.3.0 1.2.0 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1 1.0.1 1.0-rc2 1.0-rc1 1.0 0.46 0.45 0.44 0.43 0.42 0.41 0.40 0.39 0.38 0.37 0.36 0.35 0.34 0.33 0.32 0.31 0.30 0.29 0.28 0.27 0.26 0.25 0.24 0.23 0.22 0.21 The parent project is: com.google.truth::truth-parent::1.0-rc2

How To Install Java Artifact com.google.truth.truth In Version 1.0-rc2

To install the Truth Core artifact in version 1.0-rc2 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses Truth Core dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.

Compile dependencies (7)

Provided dependencies (2)

Test dependencies (4)