-
-
Save amaksoft/7bbcc08e818346e8d2e031a3060cf2fa 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