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.