How To Install Java Artifact com.squareup.okhttp3.okhttp-ws v3.4.0-RC1

com.squareup.okhttp3 okhttp-ws 3.4.0-RC1

Introduction

In this article, we'll learn how to install Java artifact okhttp-ws from com.squareup.okhttp3 group in version 3.4.0-RC1. The artifact is available in 13 versions: 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.4.0-RC1

How To Install Java Artifact com.squareup.okhttp3.okhttp-ws In Version 3.4.0-RC1

To install the OkHttp Web Sockets artifact in version 3.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 Web Sockets 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)