Skip to content

fix(deps): update guava to 32.1.3-jre with variant resolution - #704

Open
Naenyn wants to merge 1 commit into
uPortal-Project:masterfrom
Naenyn:chore/handle-guava-variants
Open

fix(deps): update guava to 32.1.3-jre with variant resolution#704
Naenyn wants to merge 1 commit into
uPortal-Project:masterfrom
Naenyn:chore/handle-guava-variants

Conversation

@Naenyn

@Naenyn Naenyn commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Guava 32.1+ publishes Gradle Module Metadata with two variants (android / standard-jvm) distinguished by the
org.gradle.jvm.environment attribute. Gradle 6.x cannot resolve this automatically, causing 'cannot choose between variants' failures.

Add a configurations.all attribute declaration to prefer standard-jvm (the JRE variant), which restores resolution and allows the guava bump from 32.0.0-jre to 32.1.3-jre.

Closes GH-673

Guava 32.1+ publishes Gradle Module Metadata with two variants
(android / standard-jvm) distinguished by the
org.gradle.jvm.environment attribute. Gradle 6.x cannot resolve this
automatically, causing 'cannot choose between variants' failures.

Add a configurations.all attribute declaration to prefer standard-jvm
(the JRE variant), which restores resolution and allows the guava
bump from 32.0.0-jre to 32.1.3-jre.

Closes uPortal-ProjectGH-673
@Naenyn
Naenyn requested a review from bjagg August 21, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant