Zach Whitten 6f24f4a18a gradle: add README (#7211) 6 年之前
..
README.md 6f24f4a18a gradle: add README (#7211) 6 年之前
_gradle e46843685c Improve gradle plugin task parsing (#5230) 8 年之前
_gradlew e46843685c Improve gradle plugin task parsing (#5230) 8 年之前
gradle.plugin.zsh 84aa274604 executing gradlew, when gradlew-file exists (#6485) 6 年之前

README.md

Gradle Plugin

This plugin adds completions and aliases for Gradle.

To use it, add gradle to the plugins array in your zshrc file:

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:

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.