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 ""
 }