sbt / ivy home / cache directories

38 views
Skip to first unread message

Monosij Dutta-Roy

unread,
Aug 11, 2014, 12:51:35 PM8/11/14
to simple-b...@googlegroups.com

I wanted to find out what is the best way to set the SBT and IVY cache directories. 0.13.5.

I found on web some conflicting answers so wanted to check here.
sbt -Dsbt.boot.directory=/home/user/.sbt/boot/
sbt -Dsbt.ivy.home=/home/user/.sbt/.ivy2/

Can these be set as environment vars or do they need to be in each build.sbt?

If environ vars would they be sbt.boot.directory and sbt.ivy.home?
Again I ask as environ vars of type SBT_HOME etc.

Is it better to set in each build.sbt and possibly also as environ var?

Thanks.
Reply all
Reply to author
Forward
0 new messages