SBT task to download a file

前端 未结 1 901
南笙
南笙 2021-01-25 08:05

Older versions of SBT provided IO.download which could be used to download a URL into a local file. In recent versions (1.2.8) this method is not available and seem

1条回答
  •  攒了一身酷
    2021-01-25 08:37

    As documented here:

    import scala.sys.process._
    
    url("http://...") #> file("somefile") !
    

    0 讨论(0)
提交回复
热议问题