A common issue when using/mixing several frameworks is the compatibility between their required libs. The usual suspects are e.g. asm, cglib or javassist.
So how can you exclude a certain artifact from being pulled in when using transitive('some-artifact')
?
Sinces transitive(...)
returns an array of artifacts, you can do:
transitive('some:artifact:jar:1.0').reject { |a| a.group == 'cglib' && a.id == 'cglib' }