Skip to content

Add OkHttp dependency

Srikanta edited this page May 27, 2025 · 1 revision

Add io.clientcore:http-okhttp3 Dependency

You can add the io.clientcore:http-okhttp3 library to your project using either Maven or Gradle. Replace the version number below with the latest available if needed.


Maven

Add the following <dependency> to your project's pom.xml:

<dependency>
  <groupId>io.clientcore</groupId>
  <artifactId>http-okhttp3</artifactId>
  <version>1.0.0-beta.2</version>
</dependency>

Gradle (Groovy DSL)

Add the following line to your build.gradle dependencies block:

implementation 'io.clientcore:http-okhttp3:1.0.0'

Gradle (Kotlin DSL)

Add the following line to your build.gradle.kts dependencies block:

implementation("io.clientcore:http-okhttp3:1.0.0")

Tip:
Check https://central.sonatype.com/artifact/io.clientcore/http-okhttp3 for the latest version and additional information.

Clone this wiki locally