Bash completion for gradle
Copy gradle into /etc/bash_completion.d/
Copy completion.gradle into /etc/gradle/
Inspired by https://gist.github.com/nolanlawson/8694399 and http://www.practicalgradle.org/blog/2011/02/task-auto-completion-on-the-command-line/
The results are now cached but it won't work too well with imported ant scripts