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
configurations.all { resolutionStrategy.eachDependency { details -> if (details.requested.group == 'com.google.guava') { details.useVersion "14.0.1" } } } dependencies { compile 'com.google.guava:guava' compile 'com.google.guava:guava-gwt' }