Fork me on GitHub
#calva
<
2020-11-07
>
paulbutcher12:11:24

Youch. I’ve just discovered that a whole pile of things have changed with Clojure CLI. Starting a Clojure CLI + Figwheel Main project with the most recent Clojure build (1.10.1.727) now gives:

> Executing task: clojure -Sdeps '{:deps {nrepl {:mvn/version "0.8.2"} cider/cider-nrepl {:mvn/version "0.23.0"} clj-kondo {:mvn/version "2020.04.05"} cider/piggieback {:mvn/version "0.4.2"}}}' -A:fig:build <

DEPRECATED: Libs must be qualified, change nrepl => nrepl/nrepl 
DEPRECATED: Libs must be qualified, change clj-kondo => clj-kondo/clj-kondo 
WARNING: Use of :main-opts with -A is deprecated. Use -M instead.

paulbutcher12:11:20

Seems to still work (although I’ve not really dug too deep yet). Is this something you were aware of @pez?

pez12:11:40

I am aware. https://github.com/BetterThanTomorrow/calva/issues/826 But it is good that you remind about it. It will probably keep working for a long time, but it should of course be addressed anyway.

👍 3
borkdude12:11:24

@paulbutcher Just released a new version of clj-kondo that will present you these warnings in your buffer:

👍 3
clj-kondo 6
💯 6