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