Last active
August 29, 2015 14:20
-
-
Save banterCZ/da681d8842f2f8e848e2 to your computer and use it in GitHub Desktop.
A version conflict results in a build failure. This strategy requires all version conflicts to be resolved explicitly in the build script. https://gradle.org/docs/current/userguide/dependency_management.html#sub:version_conflicts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
repositories { | |
mavenLocal() | |
} | |
configurations.all { | |
//TODO comment out to result in a build failure | |
//resolutionStrategy.failOnVersionConflict() | |
} | |
dependencies { | |
compile "org.springframework:spring-webmvc:3.2.4.RELEASE" | |
compile "org.springframework.security:spring-security-web:3.1.4.RELEASE" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment