From 52051b897812a277f0a575ce40b3d86772018f60 Mon Sep 17 00:00:00 2001 From: James Sutton Date: Thu, 27 Aug 2015 14:56:41 +0100 Subject: [PATCH] Bug: 474722 - Adding missing gradle jar and build shell script. These files are required for the Hudson CI Builds of the Android Service Signed-off-by: James Sutton --- gradle/wrapper/gradle-wrapper.properties | 6 ++++++ waitForEmulator.sh | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100644 waitForEmulator.sh diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..5b98344 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Wed Aug 26 15:38:58 BST 2015 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip diff --git a/waitForEmulator.sh b/waitForEmulator.sh new file mode 100644 index 0000000..2f493b5 --- /dev/null +++ b/waitForEmulator.sh @@ -0,0 +1,12 @@ +echo Android Home is: $ANDROID_HOME +echo Waiting for Emulator to Boot. +while true; do + str=`$ANDROID_HOME/platform-tools/adb shell getprop init.svc.bootanim 2>&1` + echo -n . + if [[ $str =~ 'stopped' ]]; then + break + fi + sleep 5 +done +echo Finished: $str +echo Emulator has booted.