Skip to content

Instantly share code, notes, and snippets.

@amaksoft
Forked from rponte/build.gradle
Created Aug 22, 2016
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'
}
}
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment