January 2018
Intermediate to advanced
414 pages
10h 29m
English
First, we will add Kluent as a dependency in our Maven POM. Go to the Project window and open pom.xml in the root folder of the project. Kluent is hosted in bintray JCenter, so we need to add that repository to our POM. Find the tag repositories and add another one at the end of the existing repositories:
....<repositories>.... <repository> <id>jcenter</id> <url>http://jcenter.bintray.com</url> <snapshots> <enabled>true</enabled> <updatePolicy>never</updatePolicy> <checksumPolicy>warn</checksumPolicy> </snapshots> <releases> <enabled>true</enabled> <checksumPolicy>warn</checksumPolicy> </releases> </repository></repositories>....
Now, go to the dependencies section and add Kluent as a dependency within the dependencies tags: ...
Read now
Unlock full access