Skip to content

Commit

Permalink
Prepare for release 31.0.1.
Browse files Browse the repository at this point in the history
RELNOTES=n/a
PiperOrigin-RevId: 399242763
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Sep 27, 2021
1 parent 0ad6d6d commit fd945ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Guava's Maven group ID is `com.google.guava`, and its artifact ID is `guava`.
Guava provides two different "flavors": one for use on a (Java 8+) JRE and one
for use on Android or Java 7 or by any library that wants to be compatible with
either of those. These flavors are specified in the Maven version field as
either `31.0-jre` or `31.0-android`. For more about depending on Guava, see
either `31.0.1-jre` or `31.0.1-android`. For more about depending on Guava, see
[using Guava in your build].

To add a dependency on Guava using Maven, use the following:
Expand All @@ -32,9 +32,9 @@ To add a dependency on Guava using Maven, use the following:
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.0-jre</version>
<version>31.0.1-jre</version>
<!-- or, for Android: -->
<version>31.0-android</version>
<version>31.0.1-android</version>
</dependency>
```

Expand All @@ -45,16 +45,16 @@ dependencies {
// Pick one:
// 1. Use Guava in your implementation only:
implementation("com.google.guava:guava:31.0-jre")
implementation("com.google.guava:guava:31.0.1-jre")
// 2. Use Guava types in your public API:
api("com.google.guava:guava:31.0-jre")
api("com.google.guava:guava:31.0.1-jre")
// 3. Android - Use Guava in your implementation only:
implementation("com.google.guava:guava:31.0-android")
implementation("com.google.guava:guava:31.0.1-android")
// 4. Android - Use Guava types in your public API:
api("com.google.guava:guava:31.0-android")
api("com.google.guava:guava:31.0.1-android")
}
```

Expand Down
4 changes: 2 additions & 2 deletions guava-testlib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To add a dependency on Guava testlib using Maven, use the following:
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava-testlib</artifactId>
<version>31.0-jre</version>
<version>31.0.1-jre</version>
<scope>test</scope>
</dependency>
```
Expand All @@ -22,7 +22,7 @@ To add a dependency using Gradle:

```gradle
dependencies {
test 'com.google.guava:guava-testlib:31.0-jre'
test 'com.google.guava:guava-testlib:31.0.1-jre'
}
```

Expand Down

0 comments on commit fd945ba

Please sign in to comment.