MVN

com.squareup.okhttp3 : okhttp

Maven & Gradle

Jun 27, 2022
4.8k usages
41k stars

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

<dependency>
    <groupId>com.squareup.okhttp3</groupId>
    <artifactId>okhttp</artifactId>
    <version>4.10.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.10.0
  • Latest Release Candidate: 4.10.0-RC1
  • Latest Alpha: 5.0.0-alpha.10

All Versions

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

  • Version Updated
  • okhttp-5.0.0-alpha.10

    Jun 27, 2022
  • okhttp-5.0.0-alpha.9

    Jun 16, 2022
  • okhttp-4.10.0

    Jun 12, 2022
  • okhttp-5.0.0-alpha.8

    Jun 08, 2022
  • okhttp-5.0.0-alpha.7

    Apr 27, 2022
  • okhttp-5.0.0-alpha.6

    Mar 14, 2022
  • okhttp-5.0.0-alpha.5

    Feb 21, 2022
  • okhttp-5.0.0-alpha.4

    Feb 02, 2022
  • okhttp-5.0.0-alpha.3

    Nov 23, 2021
  • okhttp-4.9.3

    Nov 22, 2021
  • okhttp-4.9.2

    Oct 01, 2021
  • okhttp-5.0.0-alpha.2

    Jan 30, 2021
  • okhttp-5.0.0-alpha.1

    Jan 30, 2021
  • okhttp-3.12.13

    Jan 30, 2021
  • okhttp-4.9.1

    Jan 30, 2021
  • okhttp-4.10.0-RC1

    Oct 07, 2020
  • okhttp-4.9.0

    Sep 11, 2020
  • okhttp-4.8.1

    Aug 06, 2020
  • okhttp-4.8.0

    Jul 11, 2020
  • okhttp-4.7.2

    May 20, 2020
  • okhttp-4.7.1

    May 18, 2020
  • okhttp-4.7.0

    May 17, 2020
  • okhttp-3.14.9

    May 17, 2020
  • okhttp-3.12.12

    May 17, 2020
  • okhttp-4.6.0

    Apr 29, 2020
  • okhttp-3.14.8

    Apr 29, 2020
  • okhttp-3.12.11

    Apr 29, 2020
  • okhttp-4.5.0

    Apr 06, 2020
  • okhttp-4.5.0-RC1

    Mar 24, 2020
  • okhttp-4.4.1

    Mar 09, 2020
  • okhttp-3.12.10

    Feb 29, 2020
  • okhttp-3.14.7

    Feb 25, 2020
  • okhttp-3.12.9

    Feb 24, 2020
  • okhttp-4.4.0

    Feb 17, 2020
  • okhttp-3.12.8

    Jan 12, 2020
  • okhttp-3.14.6

    Jan 12, 2020
  • okhttp-4.3.1

    Jan 07, 2020
  • okhttp-3.14.5

    Jan 03, 2020
  • okhttp-3.12.7

    Jan 03, 2020
  • okhttp-4.3.0

    Dec 31, 2019
  • okhttp-4.2.2

    Oct 06, 2019
  • okhttp-4.2.1

    Oct 02, 2019
  • okhttp-3.12.6

    Sep 29, 2019
  • okhttp-3.14.4

    Sep 29, 2019
  • okhttp-3.14.3

    Sep 10, 2019
  • okhttp-3.12.5

    Sep 10, 2019
  • okhttp-4.2.0

    Sep 10, 2019
  • okhttp-4.1.1

    Sep 05, 2019
  • okhttp-3.12.4

    Sep 05, 2019
  • okhttp-4.1.0

    Aug 12, 2019
  • okhttp-4.0.1

    Jul 10, 2019
  • okhttp-4.0.0

    Jun 27, 2019
  • okhttp-4.0.0-RC3

    Jun 24, 2019
  • okhttp-4.0.0-RC2

    Jun 21, 2019
  • okhttp-4.0.0-RC1

    Jun 04, 2019
  • okhttp-4.0.0-alpha02

    May 26, 2019
  • okhttp-3.14.2

    May 19, 2019
  • okhttp-4.0.0-alpha01

    May 09, 2019
  • okhttp-3.12.3

    May 07, 2019
  • okhttp-3.14.1

    Apr 10, 2019
  • okhttp-3.12.2

    Mar 14, 2019
  • okhttp-3.14.0

    Mar 14, 2019
  • okhttp-3.13.1

    Feb 05, 2019
  • okhttp-3.13.0

    Feb 05, 2019
  • okhttp-3.12.1

    Dec 23, 2018
  • okhttp-3.12.0

    Nov 17, 2018
  • okhttp-3.11.0

    Jul 13, 2018
  • okhttp-3.10.0

    Feb 24, 2018
  • okhttp-3.9.1

    Nov 18, 2017
  • okhttp-3.9.0

    Sep 04, 2017
  • okhttp-3.8.1

    Jun 18, 2017
  • okhttp-3.8.0

    May 13, 2017
  • okhttp-3.7.0

    Apr 16, 2017
  • okhttp-3.6.0

    Jan 29, 2017
  • okhttp-3.5.0

    Dec 01, 2016
  • okhttp-3.4.2

    Nov 04, 2016
  • okhttp-3.4.1

    Jul 10, 2016
  • okhttp-3.4.0

    Jul 09, 2016
  • okhttp-3.4.0-RC1

    Jul 03, 2016
  • okhttp-3.3.1

    May 28, 2016
  • okhttp-3.3.0

    May 25, 2016
  • okhttp-3.2.0

    Feb 26, 2016
  • okhttp-3.1.2

    Feb 10, 2016
  • okhttp-3.1.1

    Feb 08, 2016
  • okhttp-3.1.0

    Feb 06, 2016
  • okhttp-3.0.1

    Jan 15, 2016
  • okhttp-3.0.0

    Jan 13, 2016
  • okhttp-3.0.0-RC1

    Jan 02, 2016

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.10.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.10.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.10.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.10.0"

Advertisement

Dependencies from Group

Jun 27, 2022
4.8k usages
41k stars
Jun 27, 2022
1.3k usages
41k stars
Jun 27, 2022
947 usages
41k stars
Jun 27, 2022
221 usages
41k stars
Jun 27, 2022
77 usages
41k stars

Discover Dependencies

Aug 28, 2020
10k usages
336 stars
Sep 22, 2022
1.1k usages
59k stars
Sep 12, 2018
4.6k usages
7 stars
Dec 24, 2018
2.2k usages
Feb 24, 2022
329 usages
1.3k stars
Sep 15, 2022
2.4k usages
Sep 09, 2022
1k usages
556 stars
Sep 22, 2022
2.7k usages
59k stars
Sep 15, 2022
7.3k usages
45k stars
image

Maven Repository

Search Maven dependencies with Maven Repository Chrome Extension

Add to Chrome