Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use leiningen to develop using local jars?

I realize that this question is pretty much the exact question found here. However, seeing as that question is 1.5 years old (or so), I would like to revisit it. How does one add local dependencies using leiningen? Surely this capability must exist by now?

like image 705
benekastah Avatar asked Dec 07 '11 06:12

benekastah


1 Answers

Create a private Maven Repository, and then, add the following to your project.clj

:repositories {"local" ~(str (.toURI (java.io.File. "your_local_repository")))}
like image 180
Abimaran Kugathasan Avatar answered Nov 16 '22 03:11

Abimaran Kugathasan