Tech behind Tech

Raw information. No finesse :)

Posts Tagged ‘dependency

Leiningen – Adding git submodule to Leiningen project

with 4 comments

With git, sometimes it easy to use git submodule for dependency management. In Leiningen, for some reason the only “advertised” way of dependency management is using maven. After some poking around, there is a way in Leiningen to use git submodules for dependency management.

Are you ready? ( drumroll …)

It is very simple actually :)

You have to checkout your submodules to “checkouts” folder. Leiningen will automatically add your submodule’s src directory to your classpath.

That’s it folks :)

Written by Siva Jagadeesan

December 11, 2010 at 1:39 pm

Posted in Clojure

Tagged with , ,


Get every new post delivered to your Inbox.

Join 147 other followers

%d bloggers like this: