You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My build using either 27.0.1 or 27.1 have transitive dependencies on failureaccess and listenablefuture. This is the output of my gradle dependencies task:
I understand from Issue #3302 that these dependencies are not actually use by guava-27.*-jre, so they should not be required in my build. I expect I can exclude them, but I should not have to.
The text was updated successfully, but these errors were encountered:
I was wrong: I cannot exclude those dependencies. Doing so I run into this compilation error in my build:
StreamCache.java:177: error: cannot access InternalFutureFailureAccess
private final SettableFuture future = SettableFuture.create();
^
class file for com.google.common.util.concurrent.internal.InternalFutureFailureAccess not found
AbstractFuture extends InternalFutureFailureAccess, which is not present in guava-27.1-jre.
rhuffman
changed the title
Guava 27.0.1 and 27.1 have transitive dependnecies on failureaccess and listenablefuture
Guava 27.0.1 and 27.1 have transitive dependencies on failureaccess and listenablefuture
Apr 8, 2019
I was hasty in posting this. I misunderstood issue #3302 and mistakenly thought these dependencies were not supposed to be necessary. Now I see that we do in fact need these dependencies, but there is an on-going discussion about whether or not that was the correct decision.
For my part, I feel it was not. It would be much better for my projects (which includes multiple server side libraries) if Guava were a single artifact. I am hoping the discussion in issue #3320 lands on the side of going back to a single jar in version 28.
My build using either 27.0.1 or 27.1 have transitive dependencies on failureaccess and listenablefuture. This is the output of my gradle dependencies task:
I understand from Issue #3302 that these dependencies are not actually use by guava-27.*-jre, so they should not be required in my build. I expect I can exclude them, but I should not have to.
The text was updated successfully, but these errors were encountered: