MVN

com.squareup.okhttp3 : okhttp

Maven & Gradle

Apr 23, 2023
4.8k usages
45.2k stars

okhttp · Square’s meticulous HTTP client for Java and Kotlin.

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

Latest Version

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

  • Latest Stable: 4.11.0
  • Latest Release Candidate: 4.10.0-RC1
  • Latest Alpha: 5.0.0-alpha.11

All Versions

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

Version Vulnerabilities Updated
5.0.x
okhttp-5.0.0-alpha.11
okhttp-5.0.0-alpha.10
okhttp-5.0.0-alpha.9
okhttp-5.0.0-alpha.8
okhttp-5.0.0-alpha.7
okhttp-5.0.0-alpha.6
okhttp-5.0.0-alpha.5
okhttp-5.0.0-alpha.4
okhttp-5.0.0-alpha.3
okhttp-5.0.0-alpha.2
okhttp-5.0.0-alpha.1
4.11.x
okhttp-4.11.0
4.10.x
okhttp-4.10.0
okhttp-4.10.0-RC1
4.9.x
okhttp-4.9.3
okhttp-4.9.2
okhttp-4.9.1
okhttp-4.9.0
4.8.x
okhttp-4.8.1
okhttp-4.8.0
4.7.x
okhttp-4.7.2
okhttp-4.7.1
okhttp-4.7.0
4.6.x
okhttp-4.6.0
4.5.x
okhttp-4.5.0
okhttp-4.5.0-RC1
4.4.x
okhttp-4.4.1
okhttp-4.4.0
4.3.x
okhttp-4.3.1
okhttp-4.3.0
4.2.x
okhttp-4.2.2
okhttp-4.2.1
okhttp-4.2.0
4.1.x
okhttp-4.1.1
okhttp-4.1.0
4.0.x
okhttp-4.0.1
okhttp-4.0.0
okhttp-4.0.0-RC3
okhttp-4.0.0-RC2
okhttp-4.0.0-RC1
okhttp-4.0.0-alpha02
okhttp-4.0.0-alpha01
3.14.x
okhttp-3.14.9
okhttp-3.14.8
okhttp-3.14.7
okhttp-3.14.6
okhttp-3.14.5
okhttp-3.14.4
okhttp-3.14.3
okhttp-3.14.2
okhttp-3.14.1
okhttp-3.14.0
3.13.x
okhttp-3.13.1
okhttp-3.13.0
3.12.x
okhttp-3.12.13
okhttp-3.12.12
okhttp-3.12.11
okhttp-3.12.10
okhttp-3.12.9
okhttp-3.12.8
okhttp-3.12.7
okhttp-3.12.6
okhttp-3.12.5
okhttp-3.12.4
okhttp-3.12.3
okhttp-3.12.2
okhttp-3.12.1
okhttp-3.12.0
3.11.x
okhttp-3.11.0
3.10.x
okhttp-3.10.0
3.9.x
okhttp-3.9.1
okhttp-3.9.0
3.8.x
okhttp-3.8.1
okhttp-3.8.0
3.7.x
okhttp-3.7.0
3.6.x
okhttp-3.6.0
3.5.x
okhttp-3.5.0
3.4.x
okhttp-3.4.2
okhttp-3.4.1
okhttp-3.4.0
okhttp-3.4.0-RC1
3.3.x
okhttp-3.3.1
okhttp-3.3.0
3.2.x
okhttp-3.2.0
3.1.x
okhttp-3.1.2
okhttp-3.1.1
CVE-2016-2402
okhttp-3.1.0
CVE-2016-2402
3.0.x
okhttp-3.0.1
CVE-2016-2402
okhttp-3.0.0
CVE-2016-2402
okhttp-3.0.0-RC1
CVE-2016-2402

How to add a dependency to Maven

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

<dependency>
    <groupId>com.squareup.okhttp3</groupId>
    <artifactId>okhttp</artifactId>
    <version>4.11.0</version>
</dependency>

How to add a dependency to Gradle

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

implementation 'com.squareup.okhttp3:okhttp:4.11.0'

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

implementation("com.squareup.okhttp3:okhttp:4.11.0")

How to add a dependency to SBT Scala

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

libraryDependencies += "com.squareup.okhttp3" % "okhttp" % "4.11.0"

Advertisement

Dependencies from Group

Apr 23, 2023
4.8k usages
45.2k stars
Apr 23, 2023
1.3k usages
45.2k stars
Apr 23, 2023
947 usages
45.2k stars
Apr 23, 2023
221 usages
45.2k stars
Apr 23, 2023
77 usages
45.2k stars

Discover Dependencies

Jun 18, 2023
10.6k usages
434 stars
Aug 24, 2023
1.1k usages
72.6k stars
Sep 12, 2018
4.6k usages
7 stars
Feb 01, 2023
2.2k usages
Feb 24, 2022
329 usages
1.5k stars
Jul 13, 2023
2.4k usages
55k stars
Jul 10, 2023
1.5k usages
649 stars
Aug 24, 2023
2.7k usages
72.6k stars
Mar 21, 2023
63 usages
43 stars
Jul 13, 2023
7.3k usages
55k stars