When deploying a clojure app to Heroku, I see it is using “cached Leiningen 1.6.2
$ git push heroku master
Counting objects: 271, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (205/205), done.
Writing objects: 100% (251/251), 737.28 KiB | 583 KiB/s, done.
Total 251 (delta 48), reused 234 (delta 41)
-----> Heroku receiving push
-----> Clojure app detected
-----> Using cached Leiningen 1.6.2
Downloading: rlwrap-0.3.7
Writing: lein script
-----> Installing dependencies and compiling with Leiningen
...
I would like to upgrade to 1.7.0 so I can take advantage of the :plugins feature in the project.clj.
How can I have Heroku upgrade the version of Leiningen on my cedar stack?
Thanks!
So… I’m working on it. =) I haven’t announced 1.7.0 yet because I’ve gotten a bug report I haven’t been able to reproduce, but once I get a chance to investigate and fix if applicable I’ll have it in the official buildpack. In the mean time you can use a custom BUILDPACK_URL to point to the lein-1.7 branch: