Guava Maven Dependency

This page gives you a quick reference to get Guava dependency for Maven or Gradle projects. You can also download the Guava jar dependency, the link given at the "Download JAR File" section.
Guava is a suite of core and expanded libraries that include utility classes, google's collections, io classes, and much much more.

Guava Maven Dependency

Copy below Guava maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
<dependency>
    <groupId>com.google.guava</groupId>
    <artifactId>guava</artifactId>
    <version>28.1-jre</version>
</dependency>

Guava Gradle Dependency

Copy below Guava Gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/com.google.guava/guava
compile group: 'com.google.guava', name: 'guava', version: '28.1-jre'

Download JAR File

Check for Latest Release

Reference



Comments