mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 23:30:08 +00:00
gradle: add README (#7211)
This commit is contained in:
parent
a6d40b8f8b
commit
6f24f4a18a
1 changed files with 23 additions and 0 deletions
23
plugins/gradle/README.md
Normal file
23
plugins/gradle/README.md
Normal file
|
@ -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.
|
Loading…
Reference in a new issue