gradle / gradle-completion

Gradle tab completion for bash and zsh
MIT License
1.02k stars 131 forks source link

Cache completion data under the Gradle user home directory if defined #130

Closed franckrasolo closed 1 year ago

franckrasolo commented 1 year ago

Given that Gradle users have the ability to define GRADLE_USER_HOME, this enhancement attempts to use this environment variable as the base directory for caching completion data.

In case GRADLE_USER_HOME is not defined, the default value of $HOME/.gradle is used instead, which was the previous behaviour.

franckrasolo commented 1 year ago

It turns out this had already been requested by #102 and addressed by #96, #100, #101 a while back but none of the PRs got merged.

@eriwen / @big-guy Could one of you please kindly review and merge one these PRs?

Thanks