mirror of
https://github.com/google/guava.git
synced 2024-10-23 08:44:54 +08:00
Prepare for release 33.3.1.
RELNOTES=n/a PiperOrigin-RevId: 678330548
This commit is contained in:
parent
d9dbb1594e
commit
3c7c173e9c
16
README.md
16
README.md
@ -28,8 +28,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 `33.3.0-jre` or
|
||||
`33.3.0-android`. For more about depending on Guava, see
|
||||
These flavors are specified in the Maven version field as either `33.3.1-jre` or
|
||||
`33.3.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:
|
||||
@ -38,9 +38,9 @@ To add a dependency on Guava using Maven, use the following:
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>33.3.0-jre</version>
|
||||
<version>33.3.1-jre</version>
|
||||
<!-- or, for Android: -->
|
||||
<version>33.3.0-android</version>
|
||||
<version>33.3.1-android</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -51,16 +51,16 @@ dependencies {
|
||||
// Pick one:
|
||||
|
||||
// 1. Use Guava in your implementation only:
|
||||
implementation("com.google.guava:guava:33.3.0-jre")
|
||||
implementation("com.google.guava:guava:33.3.1-jre")
|
||||
|
||||
// 2. Use Guava types in your public API:
|
||||
api("com.google.guava:guava:33.3.0-jre")
|
||||
api("com.google.guava:guava:33.3.1-jre")
|
||||
|
||||
// 3. Android - Use Guava in your implementation only:
|
||||
implementation("com.google.guava:guava:33.3.0-android")
|
||||
implementation("com.google.guava:guava:33.3.1-android")
|
||||
|
||||
// 4. Android - Use Guava types in your public API:
|
||||
api("com.google.guava:guava:33.3.0-android")
|
||||
api("com.google.guava:guava:33.3.1-android")
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -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>33.3.0-jre</version>
|
||||
<version>33.3.1-jre</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
```
|
||||
@ -22,7 +22,7 @@ To add a dependency using Gradle:
|
||||
|
||||
```gradle
|
||||
dependencies {
|
||||
test 'com.google.guava:guava-testlib:33.3.0-jre'
|
||||
test 'com.google.guava:guava-testlib:33.3.1-jre'
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user