lizw 7 ماه پیش
والد
کامیت
15064609cc
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      dsl/001sync_code.sh

+ 2 - 3
dsl/001sync_code.sh

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