Play Framework 2.0 - How to exclude packages from dependencies

2 min read
In Build.scala change your classic dependence

"xxxx" % "xxxxxxx" % "X.X"

in

("xxxx" % "xxxxxxx" % "X.X" notTransitive())

and add the packages to exclude like

("xxxx" % "xxxxxxx" % "X.X" notTransitive()).exclude("com.google.guava", "guava").exclude("javassist", "javassist")

Bye, marco
This website uses cookies. By continuing to browse the site you are agreeing to our privacy policy.By closing this banner or clicking on any other item of this page, you agree to the use of such cookies.