How To Install Java Artifact com.squareup.okhttp.logging-interceptor v2.7.0

com.squareup.okhttp logging-interceptor 2.7.0

Introduction

In this article, we'll learn how to install Java artifact logging-interceptor from com.squareup.okhttp group in version 2.7.0. The artifact is available in 7 versions: 2.7.5 2.7.4 2.7.3 2.7.2 2.7.1 2.7.0 2.6.0 The parent project is: com.squareup.okhttp::parent::2.7.0

How To Install Java Artifact com.squareup.okhttp.logging-interceptor In Version 2.7.0

To install the OkHttp Logging Interceptor artifact in version 2.7.0 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 Logging Interceptor 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)

Test dependencies (3)