Created
October 9, 2013 16:21
-
-
Save rponte/6903926 to your computer and use it in GitHub Desktop.
Excluding global dependency from all configurations (Gradle)
This file contains 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
// ... | |
configurations { | |
all*.exclude group: 'xml-apis', module: 'xmlParserAPIs' | |
} | |
// Equivalent to: | |
configurations { | |
all.collect { configuration -> | |
configuration.exclude group: 'xml-apis', module: 'xmlParserAPIs' | |
} | |
} | |
// ... |
👍 just passing by to register that this was useful to me 😄
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More informations,
http://java.dzone.com/articles/gradle-goodness-exclude