-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps: update guava monorepo #2139
deps: update guava monorepo #2139
Conversation
314d9f7
to
e569d5f
Compare
e569d5f
to
da73508
Compare
da73508
to
e57915f
Compare
e57915f
to
01169f2
Compare
01169f2
to
34f27dc
Compare
34f27dc
to
0bee5e9
Compare
0bee5e9
to
f1fc07d
Compare
[gapic-generator-java-root] Kudos, SonarCloud Quality Gate passed!
|
[java_showcase_integration_tests] Kudos, SonarCloud Quality Gate passed!
|
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
This PR contains the following updates:
1.0.1
->1.0.2
32.1.2-jre
->32.1.3-jre
32.0.1-jre
->32.1.3-jre
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
google/guava (com.google.guava:guava)
v32.1.2
: 32.1.2Compare Source
Maven
Jar files
Guava requires one runtime dependency, which you can download here:
Javadoc
JDiff
Changelog
listenablefuture
. (9ed0fa6
)71a16d5
)collect
: Under J2CL, exposedImmutableList
andImmutableSet
methodscopyOf
andof
for JavaScript usage. (b41968f
)net
: OptimizedInternetDomainName
construction. (3a1d18f
,eaa62eb
)v32.1.1
: 32.1.1Compare Source
Maven
Jar files
Guava requires one runtime dependency, which you can download here:
Javadoc
JDiff
Changelog
v32.1.0
: 32.1.0Compare Source
Warning: Our Gradle-metadata version numbers are broken. Read these notes, but upgrade straight to 32.1.2.
We made a mistake in our release script, so the new Gradle metadata (discussed below) has broken version numbers in 32.1.0. Sorry for the trouble and for the need for another quick patch release. We recommend upgrading straight to release 32.1.2, especially if you use Gradle or if you publish a library whose users might use Gradle. Still, read the release notes below if you use Gradle, since the fixed Gradle metadata in 32.1.2 may still require action on your part.
Maven
Jar files
Guava requires one runtime dependency, which you can download here:
Javadoc
JDiff
Changelog
Gradle Module Metadata
Warning: We made a mistake in our release script, so this is broken in 32.1.0. We recommend upgrading straight to release 32.1.2, especially if you use Gradle or if you publish a library whose users might use Gradle. Still, read the release notes below if you use Gradle, since the fixed Gradle metadata in 32.1.2 may still require action on your part.
The Gradle team has contributed a metadata file for Guava. If you use Gradle 6 or higher, you will see better handling of two kinds of dependency conflicts, plus another small feature related to our dependencies. As a result of this change, you may see errors, which you can resolve as documented below. If you encounter a problem that isn't documented below, or if the documentation is unclear, please let us know.
If you use Gradle 6 (not 5, not 7+)
You may see an error like this one:
If you do, you'll need to add something like this to a place where you configure the Java plugins:
If you see an error about a duplicate
ListenableFuture
classFor example:
This appears to be a Gradle bug.
@mathisdt has provided a workaround:
Selecting the appropriate flavor
When Gradle automatically selects the newest version of Guava in your dependency graph, it will now also select the appropriate flavor (
-android
or-jre
) based on whether you project targets Android or not. For example, if you depend on 32.1.0-android and 30.0-jre, Gradle will select 32.1.0-jre. This is the version most likely to be compatible with all your dependencies.In the unusual event that you need to override Gradle's choice of flavor, you can do so as follows:
Reporting dependencies that overlap with Guava
If your dependency graph contains the very old
google-collections
or the hackylistenablefuture
, Gradle will now report that those libraries contain duplicates of Guava classes. When this happens, you'll need to tell Gradle to select Guava:If that doesn't work, please let us know. And let us know whether our
replacedBy
workaround or these other workarounds work instead.Omitting annotations at runtime
One dependency of Guava that is not needed at runtime (
j2objc-annotations
) is now omitted from the runtime classpath. (We may omit others in the future. See #6606.)Other changes
collect
: Tweaked more nullness annotations. (501a016
,5c23590
)hash
: Enhancedcrc32c()
to use Java's hardware-accelerated implementation where available. (65c7f10
)util.concurrent
: AddedDuration
-baseddefault
methods toListeningExecutorService
. (e7714b0
)c9efc47
,01dcc2e
)e42d4e8
,de62703
)BootstrapMethodError
when usingCacheBuilder
from a custom system class loader. (As with the previous item, we're not sure how well we'll be able to keep this use case working.) (a667c38
)unusable-by-js
warning seen by users ofguava-gwt
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.