This is an automated email from the ASF dual-hosted git repository.

kyork pushed a commit to branch release/0.28
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git


The following commit(s) were added to refs/heads/release/0.28 by this push:
     new ac460b4  Update setting.gradle
ac460b4 is described below

commit ac460b44efdb71490865125eba6c972c727e079f
Author: YorkShen <[email protected]>
AuthorDate: Mon Oct 14 11:43:10 2019 +0800

    Update setting.gradle
---
 android/settings.gradle | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/android/settings.gradle b/android/settings.gradle
index 45e0e56..e9ff070 100644
--- a/android/settings.gradle
+++ b/android/settings.gradle
@@ -26,7 +26,9 @@ def updateSubmodule(){
     }
 }
 
-updateSubmodule()
+if (new File('../.git').exists()) {
+    updateSubmodule()
+}
 
 include ":playground"
 project(":playground").projectDir=new 
File("../weex-playground/android/playground")

Reply via email to