How To Install Java Artifact com.squareup.okhttp.okhttp v2.4.0-RC1

com.squareup.okhttp okhttp 2.4.0-RC1

Introduction

In this article, we'll learn how to install Java artifact okhttp from com.squareup.okhttp group in version 2.4.0-RC1. The artifact is available in 31 versions: 2.7.5 2.7.4 2.7.3 2.7.2 2.7.1 2.7.0 2.6.0 2.5.0 2.4.0-RC1 2.4.0 2.3.0 2.2.0 2.1.0-RC1 2.1.0 2.0.0-RC2 2.0.0-RC1 2.0.0 1.6.0 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.3.0 1.2.1 1.2.0 1.1.1 1.1.0 1.0.2 1.0.1 1.0.0 The parent project is: com.squareup.okhttp::parent::2.4.0-RC1

How To Install Java Artifact com.squareup.okhttp.okhttp In Version 2.4.0-RC1

To install the OkHttp artifact in version 2.4.0-RC1 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)