diff --git a/_gradle b/_gradle index ca13fd0..a11ee00 100644 --- a/_gradle +++ b/_gradle @@ -244,11 +244,11 @@ __gradle_subcommand() { '--configuration-cache-problems=[Configures how the configuration cache handles problems]:problem handling:(fail warn)' \ '(--no-configure-on-demand)--configure-on-demand[Only relevant projects are configured in this build run.]' \ '(--no-configuration-cache)--configuration-cache[Enables the configuration cache. Gradle will try to reuse the build configuration from previous builds.]' \ - '--console=[Specifies which type of console output to generate.]:console output type:(plain auto rich verbose)' \ + '--console=[Specifies which type of console output to generate.]:console output type:(plain auto colored rich verbose)' \ '--continue[Continues task execution after a task failure.]' \ '-Dorg.gradle.cache.reserved.mb=[Reserve Gradle Daemon memory for operations.]' \ '-Dorg.gradle.caching=[Set true to enable Gradle build cache.]:enable build cache:(true false)' \ - '-Dorg.gradle.console=[Set type of console output to generate.]:console output type:(plain auto rich verbose)' \ + '-Dorg.gradle.console=[Set type of console output to generate.]:console output type:(plain auto colored rich verbose)' \ '-Dorg.gradle.daemon.debug=[Set true to debug Gradle Daemon.]:enable daemon debug:(true false)' \ '-Dorg.gradle.daemon.idletimeout=[Kill Gradle Daemon after # idle millis.]' \ '-Dorg.gradle.debug=[Set true to debug Gradle Client.]' \ @@ -269,7 +269,7 @@ __gradle_subcommand() { '(-d --debug -w --warn -q --quiet)'{-i,--info}'[Set log level to info.]' \ '--max-workers[Set the maximum number of concurrent workers that Gradle may use.]:number workers' \ {-m,--dry-run}'[Runs the builds with all task actions disabled.]' \ - '--no-color[Do not use color in the console output. (Removed in Gradle 3.0)]' \ + '--task-graph[Print task graph instead of executing tasks.]' \ '(--build-cache)--no-build-cache[Do not use the Gradle build cache.]' \ '(--configure-on-demand)--no-configure-on-demand[Disables configuration on demand.]' \ '(--daemon)--no-daemon[Do not use the Gradle daemon to run the build.]' \ @@ -334,11 +334,11 @@ _gradle() { '(--configuration-cache)--no-configuration-cache[Disables the configuration cache. Gradle will not reuse the build configuration from previous builds.]' \ '--configuration-cache-problems=[Configures how the configuration cache handles problems]:problem handling:(fail warn)' \ '(--no-configure-on-demand)--configure-on-demand[Only relevant projects are configured in this build run.]' \ - '--console=[Specifies which type of console output to generate.]:console output type:(plain auto rich verbose)' \ + '--console=[Specifies which type of console output to generate.]:console output type:(plain auto colored rich verbose)' \ '--continue[Continues task execution after a task failure.]' \ '-Dorg.gradle.cache.reserved.mb=[Reserve Gradle Daemon memory for operations.]' \ '-Dorg.gradle.caching=[Set true to enable Gradle build cache.]' \ - '-Dorg.gradle.console=[Set type of console output to generate.]:console output type:(plain auto rich verbose)' \ + '-Dorg.gradle.console=[Set type of console output to generate.]:console output type:(plain auto colored rich verbose)' \ '-Dorg.gradle.daemon.debug=[Set true to debug Gradle Daemon.]' \ '-Dorg.gradle.daemon.idletimeout=[Kill Gradle Daemon after # idle millis.]' \ '-Dorg.gradle.debug=[Set true to debug Gradle Client.]' \ @@ -360,7 +360,7 @@ _gradle() { '(-d --debug -w --warn -q --quiet)'{-i,--info}'[Set log level to info.]' \ '--max-workers[Set the maximum number of concurrent workers that Gradle may use.]:number workers:->argument-expected' \ {-m,--dry-run}'[Runs the builds with all task actions disabled.]' \ - '--no-color[Do not use color in the console output. (Removed in Gradle 3.0)]' \ + '--task-graph[Print task graph instead of executing tasks.]' \ '(--build-cache)--no-build-cache[Do not use the Gradle build cache.]' \ '(--configure-on-demand)--no-configure-on-demand[Disables configuration on demand.]' \ '(--daemon)--no-daemon[Do not use the Gradle daemon to run the build.]' \ diff --git a/gradle-completion.bash b/gradle-completion.bash index 7e7b8e7..73bfcd6 100644 --- a/gradle-completion.bash +++ b/gradle-completion.bash @@ -84,7 +84,7 @@ __gradle-long-options() { --configuration-cache - Enables the configuration cache. Gradle will try to reuse the build configuration from previous builds. [incubating] --configuration-cache-problems - Configures how the configuration cache handles problems (fail or warn). Defaults to fail. [incubating] --configure-on-demand - Only relevant projects are configured ---console - Type of console output to generate (plain auto rich verbose) +--console - Type of console output to generate (plain auto colored rich verbose) --continue - Continues task execution after a task failure --continuous - Continuous mode. Automatically re-run build after changes --daemon - Use the Gradle Daemon @@ -125,6 +125,7 @@ __gradle-long-options() { --status - Print Gradle Daemon status --stop - Stop all Gradle Daemons --system-prop - Set a system property +--task-graph - Print task graph instead of executing tasks --update-locks - Perform a partial update of the dependency lock --version - Prints Gradle version info --warn - Log warnings and errors only @@ -141,7 +142,7 @@ __gradle-properties() { local args="-Dorg.gradle.cache.reserved.mb= - Reserve Gradle Daemon memory for operations -Dorg.gradle.caching= - Set true to enable Gradle build cache --Dorg.gradle.console= - Set type of console output to generate (plain auto rich verbose) +-Dorg.gradle.console= - Set type of console output to generate (plain auto colored rich verbose) -Dorg.gradle.daemon.debug= - Set true to debug Gradle Daemon -Dorg.gradle.daemon.idletimeout= - Kill Gradle Daemon after # idle millis -Dorg.gradle.debug= - Set true to debug Gradle Client