gradle: run gradle command instead of alias (#8620)

- Similarly to the mvn plugin
- Without this fix, the shell crashes in some cases
This commit is contained in:
Jonatan Ivanov authored and GitHub committed 2020-02-12 21:52:47 +01:00
1 parent 3ec04997eb
commit a6df94d2c6
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ gradle-or-gradlew() {
echo "executing gradlew instead of gradle";
./gradlew "$@";
else
gradle "$@";
command gradle "$@";
fi
}