From 2c963937ce41ba2efcf526dc2b0fa7b9c3e62901 Mon Sep 17 00:00:00 2001 From: tkral Date: Mon, 29 Aug 2011 13:15:42 -0700 Subject: [PATCH] Pull in custom ivysettings for Play (enable s3pository) --- bin/compile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bin/compile b/bin/compile index 3642ff5..b0e623a 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/^/ /'