How can I build a plugin from source and use it in my play app

左心房为你撑大大i 提交于 2019-12-13 19:42:01

问题


I have basically no knowledge of sbt and know very little about maven or ivy. There is a play plugin on github, that I would like to modify and use in my project. However I am struggling to figure out how I can pull it down from github and begin using it in my play project. I have tried various things involving using sbt commands. But sbt never behaves the way it is supposed to in the tutorials. Could anyone give me some simple steps to follow on how to go from Play Plugin on github -> utilizing plugin in play app?


回答1:


sbt source dependencies are, in my opinion, notoriously fickle. That being said, for a project dependency they're not too hard. The sbt wiki page on plugins specifically has a section, 1d, on source dependencies, so I'd recommend reading that.



来源:https://stackoverflow.com/questions/12021538/how-can-i-build-a-plugin-from-source-and-use-it-in-my-play-app

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