969cd28e0d5724019061f10454c02d3ec2a71fd4

Author
ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

chore(gradle): update completion to 1525cf3f (#13393)

Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>

Diff

 1diff --git a/.github/dependencies.yml b/.github/dependencies.yml
 2index 8e01a3548655dba8b32aafa093900addf31c0466..b8e33e62e54b4e97a5f583a793f4a0a681f1fd93 100644
 3--- a/.github/dependencies.yml
 4+++ b/.github/dependencies.yml
 5@@ -12,7 +12,7 @@ dependencies:
 6   plugins/gradle:
 7     repo: gradle/gradle-completion
 8     branch: master
 9-    version: d51199b54e5b6d7b5a6e37d8a3badc3df7efd8ee
10+    version: 1525cf3f2242062199ffcf0c5c1055625db6b9d2
11     precopy: |
12       set -e
13       find . ! -name _gradle ! -name LICENSE -delete
14diff --git a/plugins/gradle/_gradle b/plugins/gradle/_gradle
15index 369cbc140fe7c32805390a9476900a54f9504286..04f6425be7b2dcc46e77e0b78553ae2f2e823485 100644
16--- a/plugins/gradle/_gradle
17+++ b/plugins/gradle/_gradle
18@@ -199,39 +199,53 @@ __gradle_subcommand() {
19             ;;
20         (dependencyInsight)
21             _arguments \
22+                '--all-variants[Show all variants of each dependency]' \
23+                '--configuration=[Looks for the dependency in given configuration.]:dependency configuration:_gradle_dependency_configurations' \
24                 '--dependency=[Shows the details of given dependency.]' \
25-                '--configuration=[Looks for the dependency in given configuration.]:dependency configuration:_gradle_dependency_configurations' && ret=0
26+                '--single-path[Show at most one path to each dependency]' && ret=0
27             ;;
28         (help)
29             _arguments \
30-                '--task[The task to show help for.]' && ret=0
31+                '--task=[The task to show help for.]' && ret=0
32             ;;
33         (init)
34             _arguments \
35-                '--dsl=[DSL to be used in generated scripts.]:dsl:(groovy kotlin)' \
36-                '--package=[Package for the generated source.]' \
37-                '--project-name=[Name of the generated project.]' \
38-                '--test-framework=[Test framework to be used.]:test framework:(junit kotlintest scalatest spock testng)' \
39-                '--type=[Project type to generate.]:project type:(basic cpp-application cpp-library groovy-application groovy-library java-application java-library kotlin-application kotlin-library pom scala-library)' && ret=0
40+                '--comments[Include clarifying comments in files.]' \
41+                '--dsl=[Set the build script DSL to be used in generated scripts.]' \
42+                '--incubating[Allow the generated build to use new features and APIs.]' \
43+                '--insecure-protocol=[How to handle insecure URLs used for Maven Repositories.]' \
44+                '--java-version=[Provides java version to use in the project.]' \
45+                '--overwrite[Allow existing files in the build directory to be overwritten?]' \
46+                '--package=[Set the package for source files.]' \
47+                '--project-name=[Set the project name.]' \
48+                '--split-project[Split functionality across multiple subprojects?]' \
49+                '--test-framework=[Set the test framework to be used.]' \
50+                '--type=[Set the type of project to generate.]' \
51+                '--use-defaults[Use default values for options not configured explicitly]' && ret=0
52             ;;
53         (tasks)
54             _arguments \
55-                '--all[List all tasks, including subproject tasks.]' \
56-                '--group=[Show tasks only from given task group.]' && ret=0
57+                '--all[Show additional tasks and detail.]' \
58+                '--group=[Show tasks for a specific group.]' \
59+                '--groups=[Show tasks for specific groups (can be used multiple times to specify multiple groups).]' \
60+                '--types[Show task class types]' && ret=0
61             ;;
62         (test)
63             _arguments -C \
64-                '--debug-jvm[Enable debugging for the test process. The process is started suspended and listening on port 5005. Requires the "java" plugin.]' \
65-                '--fail-fast[Stops test execution after the first failed test. Requires the "java" plugin.]' \
66-                '--tests=[Sets test class or method name to be included, * is supported. Requires the "java" plugin.]' \
67+                '--debug-jvm[Enable debugging for the test process. The process is started suspended and listening on port 5005.]' \
68+                '--fail-fast[Stops test execution after the first failed test.]' \
69+                '--test-dry-run[Simulate test execution.]' \
70+                '--tests=[Sets test class or method name to be included (in addition to the test task filters), '*' is supported.]' \
71                 '(-)*:: :->task-or-option' && ret=0
72             ;;
73         (wrapper)
74             _arguments \
75-                '--distribution-type=[Binary-only or all with docs and sources]:*:distribution type:(bin all)' \
76-                '--gradle-version=[Set Gradle version for wrapper]' \
77-                '--gradle-distribution-sha256-sum=[SHA-256 checksum]' \
78-                '--gradle-distribution-url=[Set Gradle distribution URL]' && ret=0
79+                '--distribution-type=[The type of the Gradle distribution to be used by the wrapper.]:*:distribution type:(bin all)' \
80+                '--gradle-distribution-sha256-sum=[The SHA-256 hash sum of the gradle distribution.]' \
81+                '--gradle-distribution-url=[The URL to download the Gradle distribution from.]' \
82+                '--gradle-version=[The version of the Gradle distribution required by the wrapper. The following labels are allowed: latest, release-candidate, release-milestone, release-nightly, and nightly.]' \
83+                '--network-timeout=[Timeout in ms to use when the wrapper is performing network operations.]' \
84+                '--validate-url[Sets task to validate the configured distribution url.]' && ret=0
85             ;;
86         (*)
87             _arguments -C \