-
-
Save dobe/6b67159bbebce2b179e4698d75e6cd21 to your computer and use it in GitHub Desktop.
Gradle Wrapper Caller
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
while [ ! -f gradlew ] | |
do | |
cd .. | |
test $(pwd) = "/" && echo "gradlew not found in current path" && exit 1 | |
done | |
exec ./gradlew $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment