<dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest</artifactId> <version>2.2</version> </dependency>
implementation 'org.hamcrest:hamcrest:2.2'
implementation("org.hamcrest:hamcrest:2.2")
libraryDependencies += "org.hamcrest" % "hamcrest" % "2.2"
@Grapes( @Grab(group='org.hamcrest', module='hamcrest', version='2.2') )
<dependency org="org.hamcrest" name="hamcrest" rev="2.2" />
[org.hamcrest/hamcrest "2.2"]
'org.hamcrest:hamcrest:jar:2.2'