MVN

com.github.gmazzo.okhttp.mock : mock-client

Maven & Gradle

Nov 17, 2023
122 stars

okhttp-client-mock-mock-client · A simple OKHttp client mock, using a programmable request interceptor

<dependency>
    <groupId>com.github.gmazzo.okhttp.mock</groupId>
    <artifactId>mock-client</artifactId>
    <version>2.0.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.github.gmazzo.okhttp.mock : mock-client to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.0.0

All Versions

Choose a version of com.github.gmazzo.okhttp.mock : mock-client to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.0.x
mock-client-2.0.0

How to add a dependency to Maven

Add the following com.github.gmazzo.okhttp.mock : mock-client maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.github.gmazzo.okhttp.mock</groupId>
    <artifactId>mock-client</artifactId>
    <version>2.0.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.github.gmazzo.okhttp.mock : mock-client gradle dependency to your build.gradle file:

implementation 'com.github.gmazzo.okhttp.mock:mock-client:2.0.0'

Gradle Kotlin DSL: Add the following com.github.gmazzo.okhttp.mock : mock-client gradle kotlin dependency to your build.gradle.kts file:

implementation("com.github.gmazzo.okhttp.mock:mock-client:2.0.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.github.gmazzo.okhttp.mock : mock-client sbt scala dependency to your build.sbt file:

libraryDependencies += "com.github.gmazzo.okhttp.mock" % "mock-client" % "2.0.0"