Play Framework 2.1 Remove a core dependency

妖精的绣舞 提交于 2019-12-06 14:21:49
Jason Dwyer

i've been looking into dependency management too in this: Play Framework core dependency management/exclusion

and had a pointer in the right direction there.

basically you want to tinker in your Build.scala, and redefine your appDependencies with explicit deps and use .exclude(). you'll probably need to declare play itself as a dependency ( like in the link above ), then explicitly exclude the conflicing joda time.

you can also see what is bringing in each dependency in the play console with the 'dependencies' command.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!