Child pages
  • How to exclude dependencies from transitive()
Skip to end of metadata
Go to start of metadata

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:

  • No labels