I’m running into a dependency conflict in my Gradle project. When I try to build, Gradle fails with a version resolution error.
Steps to Reproduce:
Clone the repo
Run ./gradlew build
Observe dependency resolution error
Expected Behavior:
Gradle should resolve dependencies without conflict and complete the build successfully.
Actual Behavior:
Build fails with an error similar to:
Execution failed for task ':app:dependencies'.
Could not resolve all files for configuration ':app:runtimeClasspath'.
Conflict with dependency 'com.google.guava:guava' in project ':app'.
Resolved versions for app (30.1-jre) and test (31.0.1-jre) differ.
Environment:
Gradle version: 8.5
Java version: 17
OS: macOS 14.3
Additional Context:
This started happening after adding com.google.firebase:firebase-core:21.1.0.
I’m running into a dependency conflict in my Gradle project. When I try to build, Gradle fails with a version resolution error.
Steps to Reproduce:
Clone the repo
Run ./gradlew buildObserve dependency resolution error
Expected Behavior:
Gradle should resolve dependencies without conflict and complete the build successfully.
Actual Behavior:
Build fails with an error similar to:
Environment:
Gradle version: 8.5
Java version: 17
OS: macOS 14.3
Additional Context:
This started happening after adding com.google.firebase:firebase-core:21.1.0.