1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-11-04 21:31:19 +08:00

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

Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
This commit is contained in:
ohmyzsh[bot] 2025-10-26 08:56:26 +01:00 committed by GitHub
parent 99017b8eac
commit 969cd28e0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 31 additions and 17 deletions

View File

@ -12,7 +12,7 @@ dependencies:
plugins/gradle: plugins/gradle:
repo: gradle/gradle-completion repo: gradle/gradle-completion
branch: master branch: master
version: d51199b54e5b6d7b5a6e37d8a3badc3df7efd8ee version: 1525cf3f2242062199ffcf0c5c1055625db6b9d2
precopy: | precopy: |
set -e set -e
find . ! -name _gradle ! -name LICENSE -delete find . ! -name _gradle ! -name LICENSE -delete

View File

@ -199,39 +199,53 @@ __gradle_subcommand() {
;; ;;
(dependencyInsight) (dependencyInsight)
_arguments \ _arguments \
'--all-variants[Show all variants of each dependency]' \
'--configuration=[Looks for the dependency in given configuration.]:dependency configuration:_gradle_dependency_configurations' \
'--dependency=[Shows the details of given dependency.]' \ '--dependency=[Shows the details of given dependency.]' \
'--configuration=[Looks for the dependency in given configuration.]:dependency configuration:_gradle_dependency_configurations' && ret=0 '--single-path[Show at most one path to each dependency]' && ret=0
;; ;;
(help) (help)
_arguments \ _arguments \
'--task[The task to show help for.]' && ret=0 '--task=[The task to show help for.]' && ret=0
;; ;;
(init) (init)
_arguments \ _arguments \
'--dsl=[DSL to be used in generated scripts.]:dsl:(groovy kotlin)' \ '--comments[Include clarifying comments in files.]' \
'--package=[Package for the generated source.]' \ '--dsl=[Set the build script DSL to be used in generated scripts.]' \
'--project-name=[Name of the generated project.]' \ '--incubating[Allow the generated build to use new features and APIs.]' \
'--test-framework=[Test framework to be used.]:test framework:(junit kotlintest scalatest spock testng)' \ '--insecure-protocol=[How to handle insecure URLs used for Maven Repositories.]' \
'--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 '--java-version=[Provides java version to use in the project.]' \
'--overwrite[Allow existing files in the build directory to be overwritten?]' \
'--package=[Set the package for source files.]' \
'--project-name=[Set the project name.]' \
'--split-project[Split functionality across multiple subprojects?]' \
'--test-framework=[Set the test framework to be used.]' \
'--type=[Set the type of project to generate.]' \
'--use-defaults[Use default values for options not configured explicitly]' && ret=0
;; ;;
(tasks) (tasks)
_arguments \ _arguments \
'--all[List all tasks, including subproject tasks.]' \ '--all[Show additional tasks and detail.]' \
'--group=[Show tasks only from given task group.]' && ret=0 '--group=[Show tasks for a specific group.]' \
'--groups=[Show tasks for specific groups (can be used multiple times to specify multiple groups).]' \
'--types[Show task class types]' && ret=0
;; ;;
(test) (test)
_arguments -C \ _arguments -C \
'--debug-jvm[Enable debugging for the test process. The process is started suspended and listening on port 5005. Requires the "java" plugin.]' \ '--debug-jvm[Enable debugging for the test process. The process is started suspended and listening on port 5005.]' \
'--fail-fast[Stops test execution after the first failed test. Requires the "java" plugin.]' \ '--fail-fast[Stops test execution after the first failed test.]' \
'--tests=[Sets test class or method name to be included, * is supported. Requires the "java" plugin.]' \ '--test-dry-run[Simulate test execution.]' \
'--tests=[Sets test class or method name to be included (in addition to the test task filters), '*' is supported.]' \
'(-)*:: :->task-or-option' && ret=0 '(-)*:: :->task-or-option' && ret=0
;; ;;
(wrapper) (wrapper)
_arguments \ _arguments \
'--distribution-type=[Binary-only or all with docs and sources]:*:distribution type:(bin all)' \ '--distribution-type=[The type of the Gradle distribution to be used by the wrapper.]:*:distribution type:(bin all)' \
'--gradle-version=[Set Gradle version for wrapper]' \ '--gradle-distribution-sha256-sum=[The SHA-256 hash sum of the gradle distribution.]' \
'--gradle-distribution-sha256-sum=[SHA-256 checksum]' \ '--gradle-distribution-url=[The URL to download the Gradle distribution from.]' \
'--gradle-distribution-url=[Set Gradle distribution URL]' && ret=0 '--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.]' \
'--network-timeout=[Timeout in ms to use when the wrapper is performing network operations.]' \
'--validate-url[Sets task to validate the configured distribution url.]' && ret=0
;; ;;
(*) (*)
_arguments -C \ _arguments -C \