1. Starting Your Project with Leiningen

To get anywhere reusing Clojure libraries, you’ll need to set up Leiningen. It is an abstraction on top of the Maven infrastructure used in Clojure. The big idea is that you declare the libraries and versions that you’ll need in a project.clj file, and then it will go and get them for you.

Assumptions

In this chapter we assume the following:

Image You know how to add files to your path and grant permissions.

Benefits

The benefits of Leiningen are similar to those of Maven. You will get a consistent project file structure and library dependency management. This means that other Leiningen projects will have a ...

Get Clojure Recipes now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.