ubuntu 下sbt镜像配置

来源:互联网 发布:游族网络股票 编辑:程序博客网 时间:2024/06/05 05:49

sbt默认采用国外的镜像,这里使用阿里的镜像:

cd ~/.sbt/gedit repositories 

复制下面内容到文件中:

[repositories]localaliyun-nexus: http://maven.aliyun.com/nexus/content/groups/public/  typesafe: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnlysonatype-oss-releasesmaven-centralsonatype-oss-snapshots
原创粉丝点击