sbt
# This script is used to launch sbt on developer workstations.
# Additional options to add in when calling java
OPTIONS=""
# On jenkins the colors should be disabled for the console log
[ -n "$BUILD_ID" ] && OPTIONS="$OPTIONS -Dsbt.log.noformat=true"
java \
-XX:+UseG1GC \
-Xms2g \
-Xmx2g \
-XX:ReservedCodeCacheSize=128m \
-XX:+UseCodeCacheFlushing \
-Dsbt.boot.directory=${WORKSPACE:-$HOME}/.sbt \
-Dsbt.ivy.home=${WORKSPACE:-$HOME}/.ivy2 \
-Dsbt.gigahorse=false \
$OPTIONS \
-jar `dirname $0`/sbt-launch-1.2.8.jar "$@"