天天看点

sbt config

1.sbt/confg/sbtconfig.txt

# Set the java args to high

-Xmx512M

-XX:MaxPermSize=256m

-XX:ReservedCodeCacheSize=128m

# Set the extra SBT options

-Dsbt.log.format=true

# Set sbt Proxy

-Dhttp.proxyHost=127.0.0.1

-Dhttps.proxyHost=127.0.0.1

-Dhttp.proxyPort=3128

-Dhttps.proxyPort=3128

# Set sbt repos

-Dsbt.override.build.repos=true

2.C:\Users\user\.sbt\repositories

[repositories]
  local
  aliyun-maven: http://maven.aliyun.com/nexus/content/groups/public/
  typesafe-releases: http://repo.typesafe.com/typesafe/releases
  typesafe-ivy-releases: https://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]
  maven-central
  sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots