sbt - sbt 3 使用代理

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
posted @ 2020-04-15 11:12  duchaoqun  阅读(382)  评论(0编辑  收藏  举报