Improve gradle plugin task parsing

Added _gradle and _gradlew as symbolic links to gradle.plugin.zsh,
otherwise the plugin was not properly loaded.

Output from `gradlew tasks --all` is now parsed in two levels,
first we find segments between `------...` and a newline.
Second, all those lines are parsed and cleaned using awk
and added to .gradletasknamecache.

Tested on gradle 2.13, and gradlew 2.14.
This commit is contained in:
Erik Zivkovic 2016-07-14 21:23:30 +02:00
commit 11e098a0f6
3 changed files with 41 additions and 2 deletions

1
plugins/gradle/_gradle Symbolic link
View file

@ -0,0 +1 @@
gradle.plugin.zsh