Skip to content

Instantly share code, notes, and snippets.

@eriwen
Created July 22, 2012 19:02
Show Gist options
  • Save eriwen/3160718 to your computer and use it in GitHub Desktop.
Save eriwen/3160718 to your computer and use it in GitHub Desktop.
Prevent dependency version conflicts
apply plugin: 'java'
configurations.all {
resolutionStrategy {
failOnVersionConflict()
force 'org.springframework:spring-core:3.1.RELEASE'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment