diff options
author | Luiz Guilherme Fonseca Rosa <luizguilhermefr@gmail.com> | 2018-10-08 10:20:10 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-08 10:20:10 -0300 |
commit | ed401bc55af2e5b08d1ff903111a65838473ad9d (patch) | |
tree | 621f7623dedf79dd9117a20e84c0997eac8217e3 /plugins/gradle/README.md | |
parent | c2113d7cc67e2865a4692918198fba27e8360fe5 (diff) | |
parent | 7b29684a3087c881f240ebb74bd387c69f0ffcc6 (diff) | |
download | zsh-ed401bc55af2e5b08d1ff903111a65838473ad9d.tar.gz zsh-ed401bc55af2e5b08d1ff903111a65838473ad9d.tar.bz2 zsh-ed401bc55af2e5b08d1ff903111a65838473ad9d.zip |
Merge branch 'master' into master
Diffstat (limited to 'plugins/gradle/README.md')
-rw-r--r-- | plugins/gradle/README.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/gradle/README.md b/plugins/gradle/README.md new file mode 100644 index 000000000..215503c81 --- /dev/null +++ b/plugins/gradle/README.md @@ -0,0 +1,23 @@ +## Gradle Plugin + +This plugin adds completions and aliases for [Gradle](https://gradle.org/). + +To use it, add `gradle` to the plugins array in your zshrc file: + +```zsh +plugins=(... gradle) +``` + +## Usage + +This plugin creates an alias `gradle` which is used to determine whether the current working directory has a gradlew file. If gradlew is present it will be used otherwise `gradle` is used directly. Gradle tasks can be executed directly without regard for whether it is `gradle` or `gradlew` + +Examples: +```zsh +gradle test +gradle build +``` + +## Completion + +The completion provided for this plugin caches the parsed tasks into a file named `.gradletasknamecache` in the current working directory, so you might want to add that to your `.gitignore` file so that it's not accidentally committed. |