How do you change Clojure version in Leiningen and LightTable?

后端 未结 1 1202
时光说笑
时光说笑 2021-02-07 19:09

When I type (clojure-version) into my repl in LightTable, I get \"1.5.1\" as output. Is there any way to upgrade to 1.6.0?

I am assuming that it is drawing

1条回答
  •  春和景丽
    2021-02-07 19:26

    To upgrade your Leiningen version, run lein upgrade, and type 'Y' when asked if you want to continue. This will automatically upgrade your Leiningen to the latest stable release. At the time of writing this used Clojure 1.6.0.

    To upgrade your project's version of Clojure, look in your project.clj for the [org.clojure/clojure] dependency, and change the version number to the desired version.

    0 讨论(0)
提交回复
热议问题