summaryrefslogtreecommitdiff
path: root/plugins/gradle
diff options
context:
space:
mode:
authorZach Whitten <zwhitten+github@gmail.com>2018-10-04 07:30:33 -0400
committerMarc Cornellà <marc.cornella@live.com>2018-10-04 13:30:33 +0200
commit6f24f4a18ae4c12102a1ec0621a51fc24f0ffe8c (patch)
tree5678b20214fb00f18753ad4c7a9e4b782c1409ff /plugins/gradle
parenta6d40b8f8beec16f582b0a4404cf1b6c8a848689 (diff)
downloadzsh-6f24f4a18ae4c12102a1ec0621a51fc24f0ffe8c.tar.gz
zsh-6f24f4a18ae4c12102a1ec0621a51fc24f0ffe8c.tar.bz2
zsh-6f24f4a18ae4c12102a1ec0621a51fc24f0ffe8c.zip
gradle: add README (#7211)
Diffstat (limited to 'plugins/gradle')
-rw-r--r--plugins/gradle/README.md23
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.