conf2/zsh/.oh-my-zsh/plugins/gradle
vincent 341b34f8fa Revert "add powerlevel10k"
This reverts commit 537a63d601.
2020-06-11 16:59:30 +02:00
..
_gradle Revert "add powerlevel10k" 2020-06-11 16:59:30 +02:00
_gradlew Revert "add powerlevel10k" 2020-06-11 16:59:30 +02:00
gradle.plugin.zsh Revert "add powerlevel10k" 2020-06-11 16:59:30 +02:00
README.md Revert "add powerlevel10k" 2020-06-11 16:59:30 +02:00

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.