scala - How to add dependency on library that is published locally for Play Project? -


i have play project intended library publish locally during development phase.

i can achieve running publish-local

my question how add dependency in main project in main project access utilities defined in local library?

it seems need add dependency in build.scala. here's external libray: "com.google.inject" % "guice" % "3.0"

what in case?

you must add resolver precising local ivy repository:

resolvers += resolver.file("local repo", file("/home/user/.ivy2/local"))(resolver.ivystylepatterns) 

you may want manage resolvers ordering/priorities (meaning, start searching local repo, if not found, try external repositories). in case, must deal proxy repositories.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -