getting started

mockneat is hosted on jcenter() and it’s available as a dependency for maven, gradle and ivy.

The library is free and open-source, so the the latest version can be built directly from the source code.

Note: There is also an (outdated) Maven Central mirror, but I recommend you to use the jcenter() repository if possible, especially for the latest versions and patches.




repositories {
dependencies {
  compile 'net.andreinc.mockneat:mockneat:0.3.9'


Clone it from github.:

git clone

Create the fat jar. This will contain mockneat and all the associated dependencies:

gradle shadowJar

Check the ./build/libs/ for .jar file: mockneat-<version>-all.jar.

Add the mockneat-<version>-all.jar to the classpath of the project.