Skip to content

Instantly share code, notes, and snippets.

@alexejk
Created January 16, 2014 14:37
Show Gist options
  • Save alexejk/8455975 to your computer and use it in GitHub Desktop.
Save alexejk/8455975 to your computer and use it in GitHub Desktop.
Use Gradle Wrapper when available
function gradle() {
if [[ -x "gradlew" ]]; then
./gradlew "$@"
else
$GRADLE_HOME/bin/gradle "$@"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment