2020/02/17 23:10
这个配置项(-Dsbt.repository.config)的作用就是指定自定义位置。
2020/02/17 22:06
终于找到自定义的repositories不生效的原因了
> 如果由于某种原因, repositories 文件并不在默认的 .sbt 目录下,则需要通过 -Dsbt.repository.config 指定 repositories 文件的具体位置
这个在官网的文档上有吗?

看到官网上讲Proxy Repositories那一节是这么写的,我还以为不用特别设置就默认读取这个位置呢
```
sbt requires configuration in two places to make use of a proxy repository. The first is the ~/.sbt/repositories file, and the second is the launcher script.
```
回复 @
{{emojiItem.symbol}}
返回顶部
顶部