Fork me on GitHub
#tools-deps
<
2021-03-18
>
seancorfield00:03:15

com.github.seancorfield/depstar {:mvn/version "2.0.206"} is available — new :paths-only option to exclude local/git deps from library JARs if needed; exec args can now be alias names (keywords) that are looked up in the basis (that includes user deps.edn) so that you can be more DRY in your deps.edn file by using aliases to define shared/common argument values (e.g., deps-deploy currently has a PR open to add similar functionality, so you would be able to define your JAR filename in an alias and then reuse it between both tools!). Follow-up in #depstar

andy.fingerhut03:03:31

So is it expected for brew install clojure/tools/clojure to install some version of a JDK via Homebrew now? I thought that one of the motivations for switching to clojure/tools/clojure from the former clojure Homebrew package was to avoid having a dependency on any JDKs?

Alex Miller (Clojure team)03:03:40

nothing has changed (from clojure formula perspective), but brew works really hard to break stuff so something could have changed

😂 3
andy.fingerhut04:03:24

I tried wiping homebrew off a Linux system where I had it before, and reinstall from scratch, and brew install clojure/tools/clojure did not install a JDK this time. Probably something left over from my previous brew installation

Alex Miller (Clojure team)04:03:45

by default, brew will upgrade stuff, so if you had previously installed, it may have just upgraded

seancorfield04:03:49

brew is annoying (because of the strong opinions of the core maintainer team) but it is also very convenient. I long resisted installing it on my Mac (and macports was also problematic) but now that I've given in -- because of Clojure! -- I'm happy to use it on my WSL2/Ubuntu setup as well to manage my Clojure CLI. So it's all your fault! 🙂