diff options
author | Konstantin Gribov <grossws@gmail.com> | 2020-07-01 16:20:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 15:20:41 +0200 |
commit | 999d22bb0e23973abc3d3b88f8b3e7606ddff755 (patch) | |
tree | 07bb660d75887186cdcb007d76f95080b8449974 | |
parent | e606ac70514fe31e40af53b818f07a967d185185 (diff) | |
download | zsh-999d22bb0e23973abc3d3b88f8b3e7606ddff755.tar.gz zsh-999d22bb0e23973abc3d3b88f8b3e7606ddff755.tar.bz2 zsh-999d22bb0e23973abc3d3b88f8b3e7606ddff755.zip |
gradle: force `--console plain` for tasks cache generation (#8731)
Fixes #8730
-rw-r--r-- | plugins/gradle/_gradle | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gradle/_gradle b/plugins/gradle/_gradle index 647626615..e77b23cdb 100644 --- a/plugins/gradle/_gradle +++ b/plugins/gradle/_gradle @@ -116,9 +116,9 @@ __gradle-generate-tasks-cache() { # Reuse Gradle Daemon if IDLE but don't start a new one. local gradle_tasks_output if [[ ! -z "$($gradle_cmd --status 2>/dev/null | grep IDLE)" ]]; then - gradle_tasks_output="$($gradle_cmd --daemon --build-file $gradle_build_file -q tasks --all 2>/dev/null)" + gradle_tasks_output="$($gradle_cmd --daemon --build-file $gradle_build_file --console plain -q tasks --all 2>/dev/null)" else - gradle_tasks_output="$($gradle_cmd --no-daemon --build-file $gradle_build_file -q tasks --all 2>/dev/null)" + gradle_tasks_output="$($gradle_cmd --no-daemon --build-file $gradle_build_file --console plain -q tasks --all 2>/dev/null)" fi local gradle_all_tasks="" root_tasks="" subproject_tasks="" output_line local -a match |