How To Install Java Artifact com.squareup.okhttp3.okhttp v3.14.2

com.squareup.okhttp3 okhttp 3.14.2

Introduction

In this article, we'll learn how to install Java artifact okhttp from com.squareup.okhttp3 group in version 3.14.2. The artifact is available in 92 versions: 5.0.0-alpha.12 5.0.0-alpha.11 5.0.0-alpha.10 5.0.0-alpha.9 5.0.0-alpha.8 5.0.0-alpha.7 5.0.0-alpha.6 5.0.0-alpha.5 5.0.0-alpha.4 5.0.0-alpha.3 5.0.0-alpha.2 5.0.0-alpha.1 4.12.0 4.11.0 4.10.0-RC1 4.10.0 4.9.3 4.9.2 4.9.1 4.9.0 4.8.1 4.8.0 4.7.2 4.7.1 4.7.0 4.6.0 4.5.0-RC1 4.5.0 4.4.1 4.4.0 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.1 4.1.0 4.0.1 4.0.0-alpha02 4.0.0-alpha01 4.0.0-RC3 4.0.0-RC2 4.0.0-RC1 4.0.0 3.14.9 3.14.8 3.14.7 3.14.6 3.14.5 3.14.4 3.14.3 3.14.2 3.14.1 3.14.0 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.2 3.12.1 3.12.0 3.11.0 3.10.0 3.9.1 3.9.0 3.8.1 3.8.0 3.7.0 3.6.0 3.5.0 3.4.2 3.4.1 3.4.0-RC1 3.4.0 3.3.1 3.3.0 3.2.0 3.1.2 3.1.1 3.1.0 3.0.1 3.0.0-RC1 3.0.0 The parent project is: com.squareup.okhttp3::parent::3.14.2

How To Install Java Artifact com.squareup.okhttp3.okhttp In Version 3.14.2

To install the OkHttp artifact in version 3.14.2 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses OkHttp dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.

Compile dependencies (1)

Provided dependencies (4)