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