How do I create a minimal configuration for Leiningen 2.5?

Here is an example .clj file:

;; To deploy to a hosted Artifactory server:

(defproject project-name "0.1.0-SNAPSHOT"

;; ...

:deploy-repositories

[["releases"

{:url "http://hostname:port/artifactory/libs-releases-local"

:username :env/artifactory_user

:password :env/artifactory_pass}]

["snapshots"

{:url "http://hostname:port/artifactory/libs-snapshots-local/"

:username :env/artifactory_user

:password :env/artifactory_pass}]]

;; ...

:profiles {:dev {:source-paths ["dev"]}})

 

;; Notes / Gotcha!

;; * Use :password not :passphrase

;; * :deploy-repositories must be a vector of vectors

 

;; Read this:

;; https://github.com/technomancy/leiningen/blob/master/doc/DEPLOY.md