How To Install Java Artifact com.google.code.gson.gson v2.8.5

com.google.code.gson gson 2.8.5

Introduction

In this article, we'll learn how to install Java artifact gson from com.google.code.gson group in version 2.8.5. The artifact is available in 36 versions: 2.10.1 2.10 2.9.1 2.9.0 2.8.9 2.8.8 2.8.7 2.8.6 2.8.5 2.8.4 2.8.3 2.8.2 2.8.1 2.8.0 2.7 2.6.2 2.6.1 2.6 2.5 2.4 2.3.1 2.3 2.2.4 2.2.3 2.2.2 2.2.1 2.2 2.1 2.0 1.7.2 1.7.1 1.7 1.6 1.5 1.4 1.1 The parent project is: com.google.code.gson::gson-parent::2.8.5

How To Install Java Artifact com.google.code.gson.gson In Version 2.8.5

To install the Gson artifact in version 2.8.5 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 Gson 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.

Test dependencies (1)