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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.