Leiningen and Deps.edn Basics
Understand the fundamentals of Leiningen and Deps.edn for project creation, dependency management, and task automation.
Why Clojure Needs Build Tools
In Clojure, build tools are essential for automating tasks like managing dependencies, compiling code, running tests, and packaging your application. They simplify project setup and ensure consistency.
Without them, you'd manually download libraries, set up classpaths, and invoke the JVM, which quickly becomes cumbersome for any non-trivial project.
Leiningen: The Clojure Workhorse
Leiningen is a popular and mature build automation tool for Clojure projects. It's inspired by Maven and handles everything from creating new projects to deploying them.
Its primary configuration file is project.clj, a Clojure data structure itself, making it very flexible.
All lessons in this course
- Leiningen and Deps.edn Basics
- Managing Dependencies & Plugins
- Building, Testing & Deployment
- Managing Profiles, Aliases, and Environments