summaryrefslogtreecommitdiff
path: root/platform/android/gradle/gradle-update-vendor-modules.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/gradle/gradle-update-vendor-modules.gradle')
-rw-r--r--platform/android/gradle/gradle-update-vendor-modules.gradle5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/android/gradle/gradle-update-vendor-modules.gradle b/platform/android/gradle/gradle-update-vendor-modules.gradle
index f2305eb7a5..e215450ec1 100644
--- a/platform/android/gradle/gradle-update-vendor-modules.gradle
+++ b/platform/android/gradle/gradle-update-vendor-modules.gradle
@@ -1,5 +1,8 @@
task updateVendorSubmodules {
doLast {
- "git submodule update --init --recursive vendor".execute()
+ exec {
+ workingDir = "${rootDir}"
+ commandLine "git", "submodule", "update", "--init", "vendor"
+ }
}
} \ No newline at end of file