Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Excluding global dependency from all configurations (Gradle)
// ...
configurations {
all*.exclude group: 'xml-apis', module: 'xmlParserAPIs'
}
// Equivalent to:
configurations {
all.collect { configuration ->
configuration.exclude group: 'xml-apis', module: 'xmlParserAPIs'
}
}
// ...
@rponte

This comment has been minimized.

Copy link
Owner Author

@rponte rponte commented Oct 9, 2013

@csokol

This comment has been minimized.

Copy link

@csokol csokol commented Feb 20, 2015

👍 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