lizw 7 mesi fa
parent
commit
15064609cc
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  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 ""
 }