sbt 镜像设置。

sbt 配置:镜像,配置完成后 运行 sbt,需要5-10分初始化

f:/sbt/conf/repo.properties/repo.properties

[repositories]
  local
  oschina: http://maven.oschina.net/content/groups/public/
  jcenter: http://jcenter.bintray.com/
  typesafe-ivy-releases: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
  maven-central: http://repo1.maven.org/maven2/



f:/sbt/conf/sbtconfig.txt

# Set the java args to high

-Xmx512M

-XX:MaxPermSize=256m

-XX:ReservedCodeCacheSize=128m



# Set the extra SBT options

-Dsbt.log.format=true

-Dsbt.ivy.home=f:/sbt/.ivy2
-Dsbt.global.base=f:/sbt/.sbt
-Dsbt.repository.config=f:/sbt/conf/repo.properties

猜你喜欢

转载自a545807638.iteye.com/blog/2310294
sbt