[F] Fix gradle

This commit is contained in:
Azalea Gui
2023-04-07 18:33:45 -04:00
parent 9a96b1d7d2
commit eb52bdddd4
+5 -1
View File
@@ -124,7 +124,11 @@ gradle() {
if [[ -f "./gradlew" ]]; then if [[ -f "./gradlew" ]]; then
./gradlew "$@" ./gradlew "$@"
else else
$GRADLE "$@" if [[ -z $GRADLE ]]; then
echo "Neither gradle nor ./gradlew is found, please install it and restart zsh."
else
$GRADLE "$@"
fi
fi fi
} }