How To Install Java Artifact com.squareup.retrofit2.adapter-guava v2.7.0

com.squareup.retrofit2 adapter-guava 2.7.0

Introduction

In this article, we'll learn how to install Java artifact adapter-guava from com.squareup.retrofit2 group in version 2.7.0. The artifact is available in 23 versions: 2.11.0 2.10.0 2.9.0 2.8.2 2.8.1 2.8.0 2.7.2 2.7.1 2.7.0 2.6.4 2.6.3 2.6.2 2.6.1 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.2 2.0.1 2.0.0-beta4 2.0.0 The parent project is: com.squareup.retrofit2::retrofit-adapters::2.7.0

How To Install Java Artifact com.squareup.retrofit2.adapter-guava In Version 2.7.0

To install the Adapter: Guava 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 Adapter: Guava 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 (2)

Provided dependencies (1)

Test dependencies (3)