I use the following two dependencies:
compile \'com.google.guava:guava:14.0.1\'
compile \'com.google.guava:guava-gwt:14.0.1\'
Both must be
I had a similar situation where one of the dependencies used spring-web 4.2.4 which was broken. You have to force specific library version you want. As mentioned in another comment, it might cause compatibility issues but sometimes is necessary.
Least intrusive way of forcing a library version I found was instead of using
compile "org.springframework:spring-web:4.2.3.RELEASE"
specifying dependency configuration as forced:
compile("org.springframework:spring-web:4.2.3.RELEASE"){
force = true
}
I used it when I needed to downgrade Spring version temporarily (until next release).