Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
999d22bb
Unverified
Commit
999d22bb
authored
Jul 01, 2020
by
Konstantin Gribov
Committed by
GitHub
Jul 01, 2020
Browse files
gradle: force `--console plain` for tasks cache generation (#8731)
Fixes #8730
parent
e606ac70
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/gradle/_gradle
View file @
999d22bb
...
@@ -116,9 +116,9 @@ __gradle-generate-tasks-cache() {
...
@@ -116,9 +116,9 @@ __gradle-generate-tasks-cache() {
# Reuse Gradle Daemon if IDLE but don't start a new one.
# Reuse Gradle Daemon if IDLE but don't start a new one.
local gradle_tasks_output
local gradle_tasks_output
if [[ ! -z "$($gradle_cmd --status 2>/dev/null | grep IDLE)" ]]; then
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
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
fi
local gradle_all_tasks="" root_tasks="" subproject_tasks="" output_line
local gradle_all_tasks="" root_tasks="" subproject_tasks="" output_line
local -a match
local -a match
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment