[ANN] tools.deps.alpha 0.5.425, clj 1.9.0.375

117 views
Skip to first unread message

Alex Miller

unread,
Apr 14, 2018, 9:01:52 AM4/14/18
to Clojure
New releases of tools.deps.alpha and the Clojure tools (clj, clojure) are now available. This is mostly a bug fix release.

To update, use `brew upgrade clojure` on Mac, or the Getting Started installation instructions on Linux. 
Windows installers are coming soon(ish)! I have an initial version working and it's about 80% done, so only 80% to go. :)

Updates:

- TDEPS-73 detect invalid deps.edn file and improve error
- TDEPS-61 use Clojars CDN repo
- TDEPS-26 include transitive runtime deps in addition to compile deps
- TDEPS-71 better error if Java not installed - primarily for Linux installer (patch thanks to Mike Fikes)
- TDEPS-65 specify permissions on installed files in Linux installer (patch thanks to Dominic Monroe) 

Mark

unread,
Apr 14, 2018, 8:41:34 PM4/14/18
to Clojure
Is there an option to specify the directory for the local deps repository?  I was playing around with deps on AWS lambda and discovered that the default directory (I think it's ~/.m2) is read-only.  On lambda, the only writable directory is /tmp.  

Alex Miller

unread,
Apr 14, 2018, 8:47:00 PM4/14/18
to Clojure
Yes, you can use a top level setting in your deps.edn file of:

{:mvn/local-repo "/tmp/m2"}

Mark

unread,
Apr 14, 2018, 9:56:02 PM4/14/18
to Clojure
Great.  Thanks!
Reply all
Reply to author
Forward
0 new messages