Skip to content

Instantly share code, notes, and snippets.

@bjpeterdelacruz
Last active April 7, 2016 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjpeterdelacruz/f81aab333374b999e0f74da14e968803 to your computer and use it in GitHub Desktop.
Save bjpeterdelacruz/f81aab333374b999e0f74da14e968803 to your computer and use it in GitHub Desktop.
Excluding transitive dependencies in Gradle
dependencies {
compile ('org.hibernate:hibernate:3.1.3') {
exclude group: "commons-logging", module: "commons-logging"
}
compile ('org.springframework:spring-context-support:3.2.16.RELEASE') {
exclude group: "commons-logging", module: "commons-logging"
}
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment