diff --git a/bin/compile b/bin/compile index b155798..988ccd7 100755 --- a/bin/compile +++ b/bin/compile @@ -40,6 +40,15 @@ if [ ! -d $PLAY_PATH ]; then echo " done" fi +PLAY_SETTINGS_URL="http://s3.amazonaws.com/heroku-jvm-langpack-play/ivysettings.xml" + +echo -n "-----> Installing ivysettings.xml....." +if [ -f .ivy2/ivysettings.xml ]; then + rm .ivy2/ivysettings.xml +fi +curl --silent --max-time 10 --location $PLAY_SETTINGS_URL --create-dirs --output .ivy2/ivysettings.xml +echo " done" + # Build app echo "-----> Building Play! application..." $PLAY_PATH/play version | sed -u 's/^/ /'