A mock server for Java.
Add the following code to your pom.xml
:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
And the dependency:
<dependency>
<groupId>com.mauriciotogneri</groupId>
<artifactId>mockserver</artifactId>
<version>4.9.1</version>
</dependency>
Add the following code to your root build.gradle
:
allprojects
{
repositories
{
maven
{
url 'https://jitpack.io'
}
}
}
Add the following code to your module build.gradle
:
implementation 'com.github.mauriciotogneri:mockserver:4.9.1'