a6df94d2c677c6d28c5ee339975b7a56a2f67e21
- Author
- Jonatan Ivanov <jonatan.ivanov@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
gradle: run gradle command instead of alias (#8620)
- Similarly to the mvn plugin
- Without this fix, the shell crashes in some cases
Diff
1diff --git a/plugins/gradle/gradle.plugin.zsh b/plugins/gradle/gradle.plugin.zsh
2index 6be5831793eddddb541dfc3fb452724482c19ae4..c651b91cad25b678359609c2735366791cfa0f4b 100644
3--- a/plugins/gradle/gradle.plugin.zsh
4+++ b/plugins/gradle/gradle.plugin.zsh
5@@ -7,7 +7,7 @@ gradle-or-gradlew() {
6 echo "executing gradlew instead of gradle";
7 ./gradlew "$@";
8 else
9- gradle "$@";
10+ command gradle "$@";
11 fi
12 }
13