Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Commit ac460b4

Browse files
committed
Update setting.gradle
1 parent 25e95f1 commit ac460b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

android/settings.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ def updateSubmodule(){
2626
}
2727
}
2828

29-
updateSubmodule()
29+
if (new File('../.git').exists()) {
30+
updateSubmodule()
31+
}
3032

3133
include ":playground"
3234
project(":playground").projectDir=new File("../weex-playground/android/playground")

0 commit comments

Comments
 (0)