首页 > 技术文章 > sbt - sbt 3 使用代理

duchaoqun 2020-04-15 11:12 原文

Summary

  • Demo
$ sbt new lagom/lagom-scala.g8 -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=8484
[info] Loading settings for project global-plugins from idea.sbt ...
[info] Loading global plugins from C:\Users\Chris\.sbt\1.0\plugins
[info] Set current project to a (in build file:/C:/Users/Chris/Desktop/a/)
[info] Set current project to a (in build file:/C:/Users/Chris/Desktop/a/)
name [Hello World]:
  • 直接在命令后面指定即可。
-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=8484

推荐阅读