File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,25 @@ automatically. It shouldn't really matter even which version of sbt
8484you use for bootstrap, as sbt will pull relevant sbt update packages
8585automatically as well.
8686
87+ === Configuring proxy
88+
89+ Note, that if you behind proxy, you need to run `sbt` with flags
90+ [source]
91+ -Dhttp.proxyHost=<your proxy server>
92+ -Dhttp.proxyPort=<your proxy server port>
93+ -Dhttps.proxyHost=<your proxy server>
94+ -Dhttps.proxyPort=<your proxy server port>
95+
96+ For example
97+ [source,shell]
98+ sbt -Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=3128 -Dhttps.proxyHost=proxy.com -Dhttps.proxyPort=3128
99+
100+ Unfortunately, `sbt` doesn't understand `http(s)_proxy` environment variable properly, if it contains
101+ address of proxy server in `host:port` format, so flags is necessary.
102+
103+ This flags needed only on first run or when you want to check and upgrade dependencies. After first `sbt`
104+ run all dependencies will be downloaded and access to the internet not required anymore.
105+
87106=== Building for JVM
88107
89108We use http://www.scala-sbt.org/sbt-native-packager/[sbt-native-packager] to
You can’t perform that action at this time.
0 commit comments