Lein Clojure 1.3 vs Clojure 1.2.1

[亡魂溺海] 提交于 2019-12-02 04:02:20

The project.clj file lists the dependencies for your lein project, including the version of clojure. So simply put [org.clojure/clojure "1.3.0"] in the dependency vector instead of [org.clojure/clojure "1.2.1"]. Here's a barebones example:

(defproject myproject "0.5.0-SNAPSHOT"
  :description "A project for doing things."
  :url "http://github.com/technomancy/myproject"
  :dependencies [[org.clojure/clojure "1.3.0"]])

Their is a more detailed and annotated example on Leiningen's github

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!