Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Updated the build script to display a useful error message in respons…
Browse files Browse the repository at this point in the history
…e to an error I encountered when I first pulled the project (I hadn't done clone --recursive, and got a Gradle-related noclassdef as a result)
  • Loading branch information
straxus committed May 12, 2011
1 parent f48e17e commit 1e87784
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gradlew 100755 → 100644
Expand Up @@ -143,3 +143,9 @@ GRADLE_APP_BASE_NAME=`basename "$0"`
-Dorg.gradle.wrapper.properties="$WRAPPER_PROPERTIES" \
$STARTER_MAIN_CLASS \
"$@"

RETCODE=$?

if [ "$RETCODE" == "1" ] ; then
echo "Gradle classes not found -- did you forget to clone --recursive when checking out this repository? See README for more details"
fi

0 comments on commit 1e87784

Please sign in to comment.