@@ -23,7 +23,7 @@ Guava's Maven group ID is `com.google.guava`, and its artifact ID is `guava`.
23
23
Guava provides two different "flavors": one for use on a (Java 8+) JRE and one
24
24
for use on Android or Java 7 or by any library that wants to be compatible with
25
25
either of those. These flavors are specified in the Maven version field as
26
- either ` 31.0-jre ` or ` 31.0-android ` . For more about depending on Guava, see
26
+ either ` 31.0.1 -jre ` or ` 31.0.1 -android ` . For more about depending on Guava, see
27
27
[ using Guava in your build] .
28
28
29
29
To add a dependency on Guava using Maven, use the following:
@@ -32,9 +32,9 @@ To add a dependency on Guava using Maven, use the following:
32
32
<dependency >
33
33
<groupId >com.google.guava</groupId >
34
34
<artifactId >guava</artifactId >
35
- <version >31.0-jre</version >
35
+ <version >31.0.1 -jre</version >
36
36
<!-- or, for Android: -->
37
- <version >31.0-android</version >
37
+ <version >31.0.1 -android</version >
38
38
</dependency >
39
39
```
40
40
@@ -45,16 +45,16 @@ dependencies {
45
45
// Pick one:
46
46
47
47
// 1. Use Guava in your implementation only:
48
- implementation("com.google.guava:guava:31.0-jre")
48
+ implementation("com.google.guava:guava:31.0.1 -jre")
49
49
50
50
// 2. Use Guava types in your public API:
51
- api("com.google.guava:guava:31.0-jre")
51
+ api("com.google.guava:guava:31.0.1 -jre")
52
52
53
53
// 3. Android - Use Guava in your implementation only:
54
- implementation("com.google.guava:guava:31.0-android")
54
+ implementation("com.google.guava:guava:31.0.1 -android")
55
55
56
56
// 4. Android - Use Guava types in your public API:
57
- api("com.google.guava:guava:31.0-android")
57
+ api("com.google.guava:guava:31.0.1 -android")
58
58
}
59
59
```
60
60
0 commit comments