home|blog|PLAY FRAMEWORK 2.0 – HOW TO EXCLUDE PACKAGES FROM DEPENDENCIES

Play Framework 2.0 – How to exclude packages from dependencies

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

share:

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*