Configure sbt to not utilize user home directory

前端 未结 3 570
既然无缘
既然无缘 2021-01-01 04:16

Last week we had the user directory permissions changed on our CI servers and we no longer have write access to the user home directory. Hence sbt fails to boot because it

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-01 04:47

    You can set -ivy when using sbt-extras (preferable), or you can use a JVM property:

    -Dsbt.ivy.home=/path/to/ivy
    

    I've also used this:

    -Divy.default.ivy.user.dir=/path/to/ivy
    

提交回复
热议问题