How to configure leiningen to use newest Clojure version for repl started outside of project?

StackOverflow https://stackoverflow.com/questions/22773358

  •  25-06-2023
  •  | 
  •  

Domanda

When I start clojure repl for specific project, for leiningen is enough to specify correct clojure version in the concrete project.clj file as described here. But when I start repl outside the project then the older version is started. In my case the older version is 1.5.1 and I want to upgrade to 1.6.0. Here has proposed not working solution, but in the comments bellow is said that in lieingen version 2.1 the problem is resolved. I'm with version 2.3.4 of leiningen but the proposed solution doesn't work for me.

È stato utile?

Soluzione

according to technomancy on IRC: "repls outside projects are hard coded 
to lein's version of clojure"

Source: https://github.com/technomancy/leiningen/issues/1035#issuecomment-35927505

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top