SBT 添加国内镜像

Posted 云飞

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SBT 添加国内镜像相关的知识,希望对你有一定的参考价值。

在`~/.sbt/`下添加一个`repositories`文件,里面内容如下:

[repositories]
local
osc: http://maven.oschina.net/content/groups/public/
typesafe: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
sonatype-oss-releases
maven-central
sonatype-oss-snapshots

 

以上是关于SBT 添加国内镜像的主要内容,如果未能解决你的问题,请参考以下文章