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
There are conflicting versions of Guava and jsr305 among this project's transitive dependencies. Since it is a common practice to enforce that all dependencies converge, this creates the need for exclusions in those projects when using json-schema-validator.
To view the conflicting dependencies, add the following to the build.gradle:
configurations.all {
resolutionStrategy {
// Fails the build if dependencies don't converge
failOnVersionConflict()
}
}
Then attempt to build the project. The output will be as follows:
Execution failed for task ':compileJava'.
> Could not resolve all dependencies for configuration ':compileClasspath'.
> Conflict(s) found for the following module(s):
- com.google.guava:guava between versions 28.2-android and 28.1-android
- com.google.code.findbugs:jsr305 between versions 3.0.2 and 2.0.1
Run with:
--scan or
:dependencyInsight --configuration compileClasspath --dependency com.google.guava:guava
to get more insight on how to solve the conflict.
The text was updated successfully, but these errors were encountered:
There are conflicting versions of Guava and jsr305 among this project's transitive dependencies. Since it is a common practice to enforce that all dependencies converge, this creates the need for exclusions in those projects when using json-schema-validator.
To view the conflicting dependencies, add the following to the
build.gradle
:Then attempt to build the project. The output will be as follows:
The text was updated successfully, but these errors were encountered: