I want to force a clojure version in leiningen
I'm trying :clj-1.11 {:dependencies [[org.clojure/clojure "1.11.1"]]} in profiles.clj and
lein with-profiles clj-1.11 replBut it still prints:
Clojure 1.10.3Note, I want to do this outside of a project
I think I tried about any combination of ^:replace and ^:displace by now
perhaps Lein forces its own version when used outside of a project?
@vemv Could be. I'm trying to make this work: https://github.com/babashka/cli#leiningen It does work inside a project, but the point is that you can do this outside a project too :)