@@ -112,8 +112,9 @@ buildCode() {
# 构建 java
echo -e "$echoPrefix cd $codePath $echoSuffix"
cd $codePath
- echo -e "$echoPrefix gradle build -x test $echoSuffix"
- gradle build -x test
+ chmod +x gradlew
+ echo -e "$echoPrefix ./gradlew build -x test $echoSuffix"
+ ./gradlew build -x test
echo ""
}