Skip to content

Instantly share code, notes, and snippets.

@helpermethod
Last active November 21, 2018 17:15
Show Gist options
  • Save helpermethod/8bf5c2d3bda2d55c0538841020761d25 to your computer and use it in GitHub Desktop.
Save helpermethod/8bf5c2d3bda2d55c0538841020761d25 to your computer and use it in GitHub Desktop.
Working transparently with Gradle and the Gradle Wrapper
gradle() {
[[ -f gradlew ]] && ./gradlew "$@" || command gradle "$@"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment