How to configure Ivy cache directory per-user or system-wide?

前端 未结 7 1137
说谎
说谎 2020-12-02 09:38

I am using SBT as my build tool for building a Scala project.

My problem is, I can\'t configure SBT to download dependencies to my user home directory. Therefore I a

7条回答
  •  一个人的身影
    2020-12-02 09:49

    sbt -ivy /tmp/.ivy2 compile
    

    Reference: man sbt

    Options: -ivy path: path to local Ivy repository (default: ~/.ivy2)

提交回复
热议问题