my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
844 B

3 years ago
  1. # Gradle plugin
  2. This plugin adds completions and aliases for [Gradle](https://gradle.org/).
  3. To use it, add `gradle` to the plugins array in your zshrc file:
  4. ```zsh
  5. plugins=(... gradle)
  6. ```
  7. ## Usage
  8. This plugin creates a function called `gradle-or-gradlew`, which is aliased
  9. to `gradle`, which is used to determine whether the current project directory
  10. has a gradlew file. If `gradlew` is present it will be used, otherwise `gradle`
  11. is used instead. Gradle tasks can be executed directly without regard for
  12. whether it is `gradle` or `gradlew`. It also supports being called from
  13. any directory inside the root project directory.
  14. Examples:
  15. ```zsh
  16. gradle test
  17. gradle build
  18. ```
  19. ## Completion
  20. This plugin uses [the completion from the Gradle project](https://github.com/gradle/gradle-completion),
  21. which is distributed under the MIT license.