Folks,
I have just published a new pre-release version of Hamcrest: version 2.1-rc1
Although the version has jumped from 1.3 to 2.1-rc1, I don't believe there are any breaking changes at the code level. However, the packaging has changed in ways that *might* break things.
`hamcrest-core` and `hamcrest-library` have been merged into a single library called just plain `hamcrest`. The means that the way that hamcrest is imported into your project will need to change.
For gradle:
dependencies {
testImplementation 'org.hamcrest:hamcrest:2.1-rc1'
}
For maven:
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>2.1-rc1</version>
<scope>test</scope>
</dependency>
Thanks,
Joe