1 2 3 4 5 6 7 8
task updateVendorSubmodules { doLast { exec { workingDir = "${rootDir}" commandLine "git", "submodule", "update", "--init", "vendor" } } }