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
Guava is now on v. 32.1. I got the following error:
> Could not resolve com.google.guava:guava:32.1.2-jre.
Required by:
project :
> The consumer was configured to find attribute 'org.gradle.dependency.bundling' with value 'external'. However we cannot choose between the following variants of com.google.guava:guava:32.1.2-jre:
- androidRuntimeElements
- jreRuntimeElements
All of them match the consumer attributes:
- Variant 'androidRuntimeElements' capabilities com.google.collections:google-collections:32.1.2-jre and com.google.guava:guava:32.1.2-jre declares attribute 'org.gradle.dependency.bundling' with value 'external':
- Unmatched attributes:
- Provides org.gradle.category 'library' but the consumer didn't ask for it
- Provides org.gradle.jvm.environment 'android' but the consumer didn't ask for it
- Provides org.gradle.jvm.version '8' but the consumer didn't ask for it
- Provides org.gradle.libraryelements 'jar' but the consumer didn't ask for it
- Provides org.gradle.status 'release' but the consumer didn't ask for it
- Provides org.gradle.usage 'java-runtime' but the consumer didn't ask for it
- Variant 'jreRuntimeElements' capabilities com.google.collections:google-collections:32.1.2-jre and com.google.guava:guava:32.1.2-jre declares attribute 'org.gradle.dependency.bundling' with value 'external':
- Unmatched attributes:
- Provides org.gradle.category 'library' but the consumer didn't ask for it
- Provides org.gradle.jvm.environment 'standard-jvm' but the consumer didn't ask for it
- Provides org.gradle.jvm.version '8' but the consumer didn't ask for it
- Provides org.gradle.libraryelements 'jar' but the consumer didn't ask for it
- Provides org.gradle.status 'release' but the consumer didn't ask for it
- Provides org.gradle.usage 'java-runtime' but the consumer didn't ask for it
Will there be an update to this to support the latest version of Guava? Alternatively, is there a general set of rules that will tell others how to update this as Guava is updated?
The text was updated successfully, but these errors were encountered:
⚠️ The functionality of this plugin has been integrated into 'org.gradlex.java-ecosystem-capabilities'
Preferably use the org.gradlex.java-ecosystem-capabilities plugin in your build.
The latest version of org.gradlex.java-ecosystem-capabilities should work with latest Guava and no more updates should be needed for new Guava versions.
However, Guava now offers these alternative variants (even without the plugin). Your error looks a bit like you might need to define the org.gradle.jvm.environment attribute. Unfortunately, you did not post the whole error (which configuration is Gradle trying to resolve there?). This is a change in Guava itself and in way now unrelated to these plugins.
See: google/guava#6612 (comment) and other discussion there.
Guava is now on v. 32.1. I got the following error:
Will there be an update to this to support the latest version of Guava? Alternatively, is there a general set of rules that will tell others how to update this as Guava is updated?
The text was updated successfully, but these errors were encountered: