- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 47
Installing
        Andrei Ciobanu edited this page Mar 25, 2017 
        ·
        32 revisions
      
    Clone it from github:
git clone https://github.com/nomemory/mockneat.git
Build the "fat jar" - the jar that contains MockNeat and all its dependencies:
gradle shadowJar
This will create in the folder ./build/libs/ there a .jar file: mockneat-<version>-all.jar.
Copy this jar into your projects classpath and you are good to go.
To check the latest version please check the library's jcenter page.
Add jcenter() as a repository in your gradle.build file:
repositories {
    // something else
    jcenter()
}
Add the following line a dependency:
dependencies {
      // something else
     compile 'net.andreinc.mockneat:mockneat:0.0.3'
}
To check the latest version please check the library's jcenter page.
Add jcenter as a repository.
pom.xml dependency:
<dependency>
  <groupId>net.andreinc.mockneat</groupId>
  <artifactId>mockneat</artifactId>
  <version>0.0.3</version>
  <type>pom</type>
</dependency>Using the library:
Real World Examples: