From 495833c3795a6c003df23055275b477b908a4e07 Mon Sep 17 00:00:00 2001 From: Ian Tegebo Date: Sun, 24 May 2015 12:38:22 -0700 Subject: [PATCH] Add support for local gradle wrapper, gradlew --- src/_gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/_gradle b/src/_gradle index f2a5cec..fc2e429 100644 --- a/src/_gradle +++ b/src/_gradle @@ -40,6 +40,10 @@ # # ------------------------------------------------------------------------------ +# Wrapper Support +if [[ $service == "gradlew" && -x "./gradlew" ]] ; then + service="./$service" +fi _gradle() { typeset -A opt_args