---
title: "sbt config"
author: "Rule"
date: "2016-12-12T16:58:33Z"
tags: []
categories: ["编程语言"]
slug: "sbt-config"
draft: false
lastmod: "2016-12-12T20:10:20Z"
id: 2344439
url: "https://rule.iteye.com/blog/2344439"
---

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
```