sbt Resolvers
Add the resolvers to the repositories configuration /Users/carl/.sbt/repositories
following this format
> cat repositories
[repositories]
local
maven-local
maven-central
scala-tools-releases
scala-tools-snapshots
sonatype-oss-releases
sonatype-oss-snapshots
"sonatype releases" : https://oss.sonatype.org/content/repositories/releases/
"sonatype snapshots" : https://oss.sonatype.org/content/repositories/snapshots/
"typesafe repo" : http://repo.typesafe.com/typesafe/releases/
"spray repo" : http://repo.spray.io/
"Spray repo second" : http://repo.spray.cc/
"Akka repo" : http://repo.akka.io/releases/
By the way, I am using SBT 0.13.8
References:
http://www.scala-sbt.org/0.13/docs/Resolvers.html
Add the resolvers to the repositories configuration /Users/carl/.sbt/repositories
following this format
> cat repositories
[repositories]
local
maven-local
maven-central
scala-tools-releases
scala-tools-snapshots
sonatype-oss-releases
sonatype-oss-snapshots
"sonatype releases" : https://oss.sonatype.org/content/repositories/releases/
"sonatype snapshots" : https://oss.sonatype.org/content/repositories/snapshots/
"typesafe repo" : http://repo.typesafe.com/typesafe/releases/
"spray repo" : http://repo.spray.io/
"Spray repo second" : http://repo.spray.cc/
"Akka repo" : http://repo.akka.io/releases/
By the way, I am using SBT 0.13.8
References:
http://www.scala-sbt.org/0.13/docs/Resolvers.html
本文详细介绍了如何使用Sbt添加本地仓库和远程仓库,包括Maven仓库、Sonatype仓库、Typesafe仓库等,以及如何引入特定项目的依赖。
5353

被折叠的 条评论
为什么被折叠?



