MVN

com.squareup.okhttp : mockwebserver

Maven & Gradle

Feb 26, 2016
269 usages
41.3k stars

MockWebServer

<dependency>
    <groupId>com.squareup.okhttp</groupId>
    <artifactId>mockwebserver</artifactId>
    <version>2.7.5</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.squareup.okhttp : mockwebserver to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.7.5
  • Latest Release Candidate: 2.4.0-RC1

All Versions

Choose a version of com.squareup.okhttp : mockwebserver to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.7.x
mockwebserver-2.7.5
mockwebserver-2.7.4
mockwebserver-2.7.3
mockwebserver-2.7.2
mockwebserver-2.7.1
mockwebserver-2.7.0
2.6.x
mockwebserver-2.6.0
2.5.x
mockwebserver-2.5.0
2.4.x
mockwebserver-2.4.0
mockwebserver-2.4.0-RC1
2.3.x
mockwebserver-2.3.0
2.2.x
mockwebserver-2.2.0
2.1.x
mockwebserver-2.1.0
mockwebserver-2.1.0-RC1
2.0.x
mockwebserver-2.0.0
mockwebserver-2.0.0-RC2
mockwebserver-2.0.0-RC1
1.6.x
mockwebserver-1.6.0
1.5.x
mockwebserver-1.5.4
mockwebserver-1.5.3
mockwebserver-1.5.2
mockwebserver-1.5.1
mockwebserver-1.5.0
1.3.x
mockwebserver-1.3.0
1.2.x
mockwebserver-1.2.1
mockwebserver-1.2.0

How to add a dependency to Maven

Add the following com.squareup.okhttp : mockwebserver maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.squareup.okhttp</groupId>
    <artifactId>mockwebserver</artifactId>
    <version>2.7.5</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.squareup.okhttp : mockwebserver gradle dependency to your build.gradle file:

implementation 'com.squareup.okhttp:mockwebserver:2.7.5'

Gradle Kotlin DSL: Add the following com.squareup.okhttp : mockwebserver gradle kotlin dependency to your build.gradle.kts file:

implementation("com.squareup.okhttp:mockwebserver:2.7.5")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.squareup.okhttp : mockwebserver sbt scala dependency to your build.sbt file:

libraryDependencies += "com.squareup.okhttp" % "mockwebserver" % "2.7.5"

Advertisement

Dependencies from Group

Feb 26, 2016
906 usages
41.3k stars
Feb 26, 2016
269 usages
41.3k stars
Feb 26, 2016
219 usages
Feb 26, 2016
187 usages
41.3k stars
Feb 26, 2016
52 usages
41.3k stars

Discover Dependencies

May 18, 2022
2 usages
5 stars
May 18, 2018
0 stars
Jul 22, 2021
58 usages
4.2k stars
Aug 05, 2021
3 usages
4.5k stars
Aug 05, 2021
82 usages
4.5k stars
Aug 05, 2021
159 usages
4.5k stars
Jun 21, 2023
12.4k stars
Jun 04, 2015
3 usages
3.4k stars
Oct 04, 2018
24 usages
1k stars
Oct 04, 2018
27 usages
1k stars