MVN

org.hamcrest : hamcrest-library

Maven & Gradle

Oct 16, 2019
4.7k usages
2k stars

Hamcrest Library · A library of Hamcrest matchers - deprecated, please use "hamcrest" instead

<dependency>
    <groupId>org.hamcrest</groupId>
    <artifactId>hamcrest-library</artifactId>
    <version>2.2</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.hamcrest : hamcrest-library to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.2
  • Latest Release Candidate: 2.2-rc1

All Versions

Choose a version of org.hamcrest : hamcrest-library to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.2
hamcrest-library-2.2
hamcrest-library-2.2-rc1
2.1
hamcrest-library-2.1
hamcrest-library-2.1-rc4
hamcrest-library-2.1-rc3
hamcrest-library-2.1-rc2
1.3
hamcrest-library-1.3
1.3.x
hamcrest-library-1.3.RC2
1.2.x
hamcrest-library-1.2.1
1.2
hamcrest-library-1.2
1.1
hamcrest-library-1.1
1.0
hamcrest-library-1.0

How to add a dependency to Maven

Add the following org.hamcrest : hamcrest-library maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.hamcrest</groupId>
    <artifactId>hamcrest-library</artifactId>
    <version>2.2</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.hamcrest : hamcrest-library gradle dependency to your build.gradle file:

implementation 'org.hamcrest:hamcrest-library:2.2'

Gradle Kotlin DSL: Add the following org.hamcrest : hamcrest-library gradle kotlin dependency to your build.gradle.kts file:

implementation("org.hamcrest:hamcrest-library:2.2")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.hamcrest : hamcrest-library sbt scala dependency to your build.sbt file:

libraryDependencies += "org.hamcrest" % "hamcrest-library" % "2.2"

Advertisement

Dependencies from Group

Jul 09, 2012
5.7k usages
1.9k stars
Oct 16, 2019
4.7k usages
2k stars
Oct 16, 2019
4.6k usages
2k stars
Oct 16, 2019
1.8k usages
2k stars
Jan 18, 2015
717 usages
2k stars

Discover Dependencies

Feb 01, 2023
90 usages
37 stars
Jun 29, 2021
4 usages
Aug 14, 2008
795 usages
May 04, 2023
159 usages
Dec 07, 2008
87 usages
Aug 21, 2023
259 usages
8.4k stars
Oct 12, 2020
924 usages
14 stars
Jul 27, 2023
2 usages
Aug 15, 2023
331 usages