Skip to content
Discussion options

You must be logged in to vote

Try this in the root build.gradle:

subprojects {
  configurations.all {
    resolutionStrategy {
      force("com.google.guava:guava:31.0.1-jre")
    }
  }
}

Or use a dependency constraint in the root:

dependencies {
  constraints {
    implementation("com.google.guava:guava:31.0.1-jre") {
      because("align guava across modules")
    }
  }
}


After that, run:

./gradlew --refresh-dependencies clean build

If you’re still seeing conflicts, please run:

./gradlew :app:dependencyInsight --configuration runtimeClasspath --dependency guava

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CodeVoyager15
Comment options

Answer selected by thesunwillriseup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4 on September 10, 2025 08:37.