Reputation: 4486
I am Developing an android application and using a library say A. and I have another library say B which internally uses A. Because of this, I get Duplicate zip entry error on my build. How do i exclude libraries from 3rd party libraries or how do i get around this issue?
Upvotes: 2
Views: 46
Reputation: 7965
You can exclude the modules you don't need from a dependency with exclude module
:
compile (project(':B')) {
exclude module: 'A'
}
Upvotes: 1