Reputation: 33297
In my BuildConfig.groovy I have
dependencies {
compile 'org.package:abc:2.0.0'
}
abc has xyz as dependency. How can I exclude xyz?
I tried
dependencies {
compile 'org.package:abc:2.0.0' {
exclude: 'xyz'
}
}
but this does not work.
Upvotes: 1
Views: 203
Reputation: 32076
It's excludes, not exclude...
compile('org.package:abc:2.0.0') {
excludes 'xyz'
}
Upvotes: 4