CB-12524: Set Gradle to always build in the project directory since our tests don't run scripts from the project directory by default

This commit is contained in:
Joe Bowser
2017-03-10 11:18:49 -08:00
parent fb9f0f3ee8
commit 2d3f3cae13
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ GradleBuilder.prototype.runGradleWrapper = function(gradle_cmd) {
if(fs.existsSync(gradlePath)) {
//Literally do nothing, for some reason this works, while !fs.existsSync didn't on Windows
} else {
return spawn(gradle_cmd, ['wrapper'], {stdio: 'inherit'});
return spawn(gradle_cmd, ['-p', this.root, 'wrapper'], {stdio: 'inherit'});
}
};