306e3e7ea0f2aef2ab9e3a51986c34f7296a3ab2

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #4459 from Scuilion/update-gradle-commands

Gradle Plugin: Update Gradle Commands

Diff

 1diff --git a/plugins/gradle/gradle.plugin.zsh b/plugins/gradle/gradle.plugin.zsh
 2index 97941756d653d860d9506b4981bd81009e64295c..661c29d5b5a9cf373df6f1a6cf8d31ba86448bd5 100644
 3--- a/plugins/gradle/gradle.plugin.zsh
 4+++ b/plugins/gradle/gradle.plugin.zsh
 5@@ -1,6 +1,6 @@
 6 #!zsh
 7 ##############################################################################
 8-# A descriptive listing of core Gradle commands 
 9+# A descriptive listing of core Gradle commands
10 ############################################################################
11 function _gradle_core_commands() {
12     local ret=1 state
13@@ -32,14 +32,22 @@ function _gradle_arguments() {
14     '--stop[Stop the Gradle daemon]' \
15     '--daemon[Use the Gradle daemon]' \
16     '--no-daemon[Do not use the Gradle daemon]' \
17-    '--no-opt[Do not perform any task optimization]' \
18+    '--rerun-task [Specifies that any task optimization is ignored.]' \
19     '-i[Log at the info level]' \
20     '-m[Dry run]' \
21     '-P[Set a project property]' \
22+    '-p[Specifies the start directory]' \
23     '--profile[Profile the build time]' \
24     '-q[Log at the quiet level (only show errors)]' \
25     '-v[Print the Gradle version info]' \
26     '-x[Specify a task to be excluded]' \
27+    '-b[Specifies the build file.]' \
28+    '-c[Specifies the settings file.]' \
29+    '--continue[Continues task execution after a task failure.]' \
30+    '-g[Specifies the Gradle user home directory.]' \
31+    '-I[Specifies an initialization script.]' \
32+    '--refresh-dependencies[Refresh the state of dependencies.]' \
33+    '-u[Don''t search in parent directories for a settings.gradle file.]' \
34     '*::command:->command' \
35     && return 0
36 }