MVN

com.squareup.okhttp : okhttp

Maven & Gradle

Feb 26, 2016
906 usages
41.3k stars

OkHttp

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

Latest Version

Choose a version of com.squareup.okhttp : okhttp 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 : okhttp to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.7.x
okhttp-2.7.5
okhttp-2.7.4
okhttp-2.7.3
CVE-2016-2402
okhttp-2.7.2
CVE-2016-2402
okhttp-2.7.1
CVE-2016-2402
okhttp-2.7.0
CVE-2016-2402
2.6.x
okhttp-2.6.0
CVE-2016-2402
2.5.x
okhttp-2.5.0
CVE-2016-2402
2.4.x
okhttp-2.4.0
CVE-2016-2402
okhttp-2.4.0-RC1
CVE-2016-2402
2.3.x
okhttp-2.3.0
CVE-2016-2402
2.2.x
okhttp-2.2.0
CVE-2016-2402
2.1.x
okhttp-2.1.0
CVE-2016-2402
okhttp-2.1.0-RC1
CVE-2016-2402
2.0.x
okhttp-2.0.0
okhttp-2.0.0-RC2
okhttp-2.0.0-RC1
1.6.x
okhttp-1.6.0
1.5.x
okhttp-1.5.4
okhttp-1.5.3
okhttp-1.5.2
okhttp-1.5.1
okhttp-1.5.0
1.3.x
okhttp-1.3.0
1.2.x
okhttp-1.2.1
okhttp-1.2.0
1.1.x
okhttp-1.1.1
okhttp-1.1.0
1.0.x
okhttp-1.0.2
okhttp-1.0.1
okhttp-1.0.0

How to add a dependency to Maven

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

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

How to add a dependency to Gradle

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

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

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

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

How to add a dependency to SBT Scala

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

libraryDependencies += "com.squareup.okhttp" % "okhttp" % "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

Jul 13, 2023
2.9k usages
56.3k stars
Aug 25, 2023
1.1k usages
2.7k stars
Aug 19, 2022
617 usages
Nov 12, 2015
5.1k usages
Nov 06, 2012
2.9k usages
Apr 01, 2023
290 usages
2.6k stars
Sep 20, 2019
7 usages
0 stars
Mar 17, 2023
11k usages
2.1k stars
Jun 16, 2023
1.8k usages
6.4k stars
Jan 10, 2022
2.4k usages
19.9k stars