Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

"Using gradle at" message breaks zsh completion #32

Closed
timothybasanov opened this issue Mar 29, 2019 · 3 comments
Closed

"Using gradle at" message breaks zsh completion #32

timothybasanov opened this issue Mar 29, 2019 · 3 comments
Assignees

Comments

@timothybasanov
Copy link

GW wrapper always emits a helper message before running Gradle:
"Using gradle at '${gradle}' to run buildfile '${build_gradle}':\n"
Unfortunately Zsh completion for gradle does not expect it and can not parse gradle output.
Making it optionally-controlled via a parameter would allow me to configure it once via alias and forget about it.

Right now I'm using this workaround:
[[ -x ./gradlew ]] && ./gradlew "$@" || gw "$@"
Which uses raw gradlew when it's present.

  • Pros: Zsh completion works!
  • Cons: It only works in the root project folder
@kristi
Copy link

kristi commented Jun 1, 2019

+1 It would be nice to have the option to not pollute console output. It's confusing to have stderr messages when running gw --quiet

@dantesun dantesun self-assigned this Jul 1, 2020
@svermeulen
Copy link

BTW you can easily just fork gdub to remove this output. This is what I did here: https://github.com/svermeulen/gdub

@dantesun
Copy link
Member

https://github.com/gdubw/gng/releases/tag/v1.0.2 fixed this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants