什么是leiningen默认存储库? [英] What are the leiningen default repositories?

查看:162
本文介绍了什么是leiningen默认存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Leiningen(https://github.com/technomancy/leiningen)会查看一些默认存储库,以满足您的project.clj中指定的依赖关系。

Leiningen (https://github.com/technomancy/leiningen) looks into some default repositories to satisfy the dependencies specified in your project.clj.

浏览这些存储库以查看leiningen中的开箱即用的内容。

I want to browse these repositories to see what's available out-of-the-box in leiningen. What are these repos and where can I look them up for my specific version of leiningen.

推荐答案

在撰写本文时, leiningen使用以下默认存储库:

As of the time of writing, leiningen uses the following default repositories:

  • "central" - http://repo1.maven.org/maven2
  • "clojure" - http://build.clojure.org/releases
  • "clojure-snapshots" - http://build.clojure.org/snapshots
  • "clojars" - http://clojars.org/repo/

它们在文件src / core.clj中硬编码为leiningen default-repos字典,例如可以在github上查找: https: //github.com/technomancy/leiningen/blob/master/src/leiningen/core.clj

They are hardcoded into leiningen in the file "src/core.clj" as a "default-repos" dictionary and can - for example - be looked up at github: https://github.com/technomancy/leiningen/blob/master/src/leiningen/core.clj

这篇关于什么是leiningen默认存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆