这是我的project.clj:
(defproject hello-world "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[org.clojure/clojure "1.3.0"]]
:dev-dependencies [[swank-clojure "1.5.0-SNAPSHOT"]]
:plugins [[lein-swank "1.4.3"]])每次我运行lein swank时,Leiningen都会下载swank-clojure 1.4.0。
(我使用的是leiningen 1.7.0)
发布于 2012-03-13 02:42:26
我认为你不需要同时使用:plugins swank和:dev-dependencies。
尝试只使用dev依赖项
发布于 2012-04-19 18:31:16
假设您希望始终使用相同版本的swank-clojure (也是lein-swank),您可以运行(对于leiningen 1.x):
lein plugin install swank-clojure "1.5.0-SNAPSHOT"对于leiningen 2.x,您可以在您的lein目录的profile.clj文件中添加以下插件:
[lein-swank "1.5.0-SNAPSHOT"]该插件将可用于您的所有leiningen项目,而无需在项目文件中指定需求。
https://stackoverflow.com/questions/9672748
复制相似问题