mirror of
https://github.com/google/guava.git
synced 2026-10-28 08:35:50 +08:00
Belatedly update github.com docs for release 33.7.2.
RELNOTES=n/a PiperOrigin-RevId: 995298973
This commit is contained in:
1 parent
a24e79ef3e
commit
cbc66934d1
2 files changed
+10
-10
No files matched your search
@@ -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.7.1-jre` or
|
||||
`33.7.1-android`. For more about depending on Guava, see
|
||||
These flavors are specified in the Maven version field as either `33.7.2-jre` or
|
||||
`33.7.2-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.7.1-jre</version>
|
||||
<version>33.7.2-jre</version>
|
||||
<!-- or, for Android: -->
|
||||
<version>33.7.1-android</version>
|
||||
<version>33.7.2-android</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@@ -51,16 +51,16 @@ dependencies {
|
||||
// Pick one:
|
||||
|
||||
// 1. Use Guava in your implementation only:
|
||||
implementation("com.google.guava:guava:33.7.1-jre")
|
||||
implementation("com.google.guava:guava:33.7.2-jre")
|
||||
|
||||
// 2. Use Guava types in your public API:
|
||||
api("com.google.guava:guava:33.7.1-jre")
|
||||
api("com.google.guava:guava:33.7.2-jre")
|
||||
|
||||
// 3. Android - Use Guava in your implementation only:
|
||||
implementation("com.google.guava:guava:33.7.1-android")
|
||||
implementation("com.google.guava:guava:33.7.2-android")
|
||||
|
||||
// 4. Android - Use Guava types in your public API:
|
||||
api("com.google.guava:guava:33.7.1-android")
|
||||
api("com.google.guava:guava:33.7.2-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.7.1-jre</version>
|
||||
<version>33.7.2-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.7.1-jre'
|
||||
test 'com.google.guava:guava-testlib:33.7.2-jre'
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user