Skip to content

Commit

Permalink
Remove claims that guava-android works under Java 7.
Browse files Browse the repository at this point in the history
As of 31.0, it no longer does.

Relevant to #5269

RELNOTES=n/a
PiperOrigin-RevId: 399327005
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Sep 28, 2021
1 parent 7a603a9 commit fa9561e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -9,21 +9,21 @@ utilities for concurrency, I/O, hashing, caching, primitives, strings, and more!
is widely used on most Java projects within Google, and widely used by many
other companies as well.

Guava comes in two flavors.
Guava comes in two flavors:

* The JRE flavor requires JDK 1.8 or higher.
* If you need support for JDK 1.7 or Android, use the Android flavor. You can
find the Android Guava source in the [`android` directory].
* If you need support for Android, use the Android flavor. You can find the
Android Guava source in the [`android` directory].

[`android` directory]: https://github.com/google/guava/tree/master/android

## Adding Guava to your build

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.1-jre` or `31.0.1-android`. For more about depending on Guava, see
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 `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 Down

0 comments on commit fa9561e

Please sign in to comment.