Add wrapper task.
--- a/.bash_completion.d/gradle Mon Feb 20 10:28:00 2017 +0200
+++ b/.bash_completion.d/gradle Mon Feb 20 14:20:06 2017 +0200
@@ -7,7 +7,7 @@
-q --quiet -r --properties -s --stacktrace -t --tasks -u --no-search-upward -v --version -x --exclude-task \
--continue --daemon --foreground --no-color --no-daemon --offline --parallel --parallel-threads --project-cache-dir --recompile-scripts --refresh --refresh-dependencies \
--rerun-tasks --stop"
- local _help_cmds='components dependencies dependencyInsight buildEnvironment help model projects properties tasks'
+ local _help_cmds='components dependencies dependencyInsight buildEnvironment help model projects properties tasks wrapper'
local _java_cmds='assemble build buildDependents buildNeeded classes compileJava processResources clean cleanTest jar testClasses compileTestJava processTestResources javadoc check test uploadArchives'
local _application_cmds='run startScripts installApp distZip distTar'
local _other_cmd='install interactive'
@@ -24,6 +24,9 @@
help)
COMPREPLY=( $(compgen -W "--task" -- "$cur") )
return ;;
+ wrapper)
+ COMPREPLY=( $(compgen -W "--gradle-version" -- "$cur") )
+ return ;;
--task)
COMPREPLY=( $(compgen -W '$_help_cmds $_java_cmds $_application_cmds $_other_cmd' -- $cur) )
return ;;