<dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <version>1.2</version> </dependency>
implementation 'org.hamcrest:hamcrest-library:1.2'
implementation("org.hamcrest:hamcrest-library:1.2")
libraryDependencies += "org.hamcrest" % "hamcrest-library" % "1.2"
@Grapes( @Grab(group='org.hamcrest', module='hamcrest-library', version='1.2') )
<dependency org="org.hamcrest" name="hamcrest-library" rev="1.2" />
[org.hamcrest/hamcrest-library "1.2"]
'org.hamcrest:hamcrest-library:jar:1.2'
compile
|-- org.hamcrest:hamcrest-core
test
|-- junit:junit:3.8.1