Skip to content

Commit

Permalink
Post-pare for release 32.0.1.
Browse files Browse the repository at this point in the history
Also, update documentation to reflect that we test under:
- [Windows](#2686)
- [Java 17](#5801)

RELNOTES=n/a
PiperOrigin-RevId: 539045930
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Jun 15, 2023
1 parent 4b6460f commit 05d99a5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Guava comes in two flavors:
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 by any library that wants to be compatible with Android.
These flavors are specified in the Maven version field as either `32.0.0-jre` or
`32.0.0-android`. For more about depending on Guava, see
These flavors are specified in the Maven version field as either `32.0.1-jre` or
`32.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 @@ -33,9 +33,9 @@ To add a dependency on Guava using Maven, use the following:
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>32.0.0-jre</version>
<version>32.0.1-jre</version>
<!-- or, for Android: -->
<version>32.0.0-android</version>
<version>32.0.1-android</version>
</dependency>
```

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

Expand Down Expand Up @@ -114,10 +114,11 @@ flavor.
5. Our classes are not designed to protect against a malicious caller. You
should not use them for communication between trusted and untrusted code.

6. For the mainline flavor, we test the libraries using only OpenJDK 8 and
OpenJDK 11 on Linux. Some features, especially in `com.google.common.io`,
may not work correctly in other environments. For the Android flavor, our
unit tests also run on API level 15 (Ice Cream Sandwich).
6. For the mainline flavor, we test the libraries using OpenJDK 8, 11, and 17
on Linux, with some additional testing on newer JDKs and on Windows. Some
features, especially in `com.google.common.io`, may not work correctly in
non-Linux environments. For the Android flavor, our unit tests also run on
API level 15 (Ice Cream Sandwich).

[guava-snapshot-api-docs]: https://guava.dev/releases/snapshot-jre/api/docs/
[guava-snapshot-api-diffs]: https://guava.dev/releases/snapshot-jre/api/diffs/
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>32.0.0-jre</version>
<version>32.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:32.0.0-jre'
test 'com.google.guava:guava-testlib:32.0.1-jre'
}
```

Expand Down

0 comments on commit 05d99a5

Please sign in to comment.