-
-
Save carlosmanoel/37e1ca4188c399379be4414402541579 to your computer and use it in GitHub Desktop.
Excluding global dependency from all configurations (Gradle)
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
| // ... | |
| 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