How To Install Java Artifact com.google.googlejavaformat.google-java-format v1.7

com.google.googlejavaformat google-java-format 1.7

Introduction

In this article, we'll learn how to install Java artifact google-java-format from com.google.googlejavaformat group in version 1.7. The artifact is available in 27 versions: 1.22.0 1.21.0 1.20.0 1.19.2 1.19.1 1.19.0 1.18.1 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9 1.8 1.7 1.6 1.5 1.4 1.3 1.2 1.1 1.0 0.1-alpha The parent project is: com.google.googlejavaformat::google-java-format-parent::1.7

How To Install Java Artifact com.google.googlejavaformat.google-java-format In Version 1.7

To install the Google Java Format artifact in version 1.7 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 Google Java Format 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 (7)

Test dependencies (1)