scala sbt 添加国内镜像
FROM: http://www.4wei.cn/archives/1002417
sbt运行时经常需要下载大量的jar包,默认连接到maven官网,速度通常比较慢。
在`~/.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