Last active
June 11, 2017 10:23
-
-
Save vuuvv/61accef2b4891ddc4d2a7c18b3479ca5 to your computer and use it in GitHub Desktop.
sbt repositories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sbt运行时经常需要下载大量的jar包,默认连接到maven官网,速度通常比较慢。在~/.sbt/下添加一个repositories文件,里面内容如下 | |
[repositories] | |
local | |
osc: http://maven.aliyun.com/nexus/content/repositories/central/ | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment