Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 28 lines (21 sloc) 483 Bytes
#!/bin/sh
VERSION=0.11.3-2
LATEST=http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/${VERSION}/sbt-launch.jar
JAR=.sbtlib/sbt-launch-${VERSION}.jar
if [ ! -d .sbtlib ]; then
mkdir .sbtlib
fi
if [ ! -f ${JAR} ]; then
rm .sbtlib/*
echo "Fetching sbt"
curl --progress-bar ${LATEST} > ${JAR}
fi
java \
-Duser.timezone=UTC \
-Djava.awt.headless=true \
-Dfile.encoding=UTF-8 \
-XX:MaxPermSize=256m \
-Xmx1g \
-noverify \
-jar ${JAR} \
"$@"
Something went wrong with that request. Please try again.