Repository: cordova-android Updated Branches: refs/heads/master 7d5afdebe -> e182e669f
CB-12524: Set Gradle to always build in the project directory since our tests don't run scripts from the project directory by default Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/2d3f3cae Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/2d3f3cae Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/2d3f3cae Branch: refs/heads/master Commit: 2d3f3cae13682b3ed0c131957c707f43672d9212 Parents: fb9f0f3 Author: Joe Bowser <[email protected]> Authored: Fri Mar 10 11:18:49 2017 -0800 Committer: Joe Bowser <[email protected]> Committed: Mon Mar 13 13:51:36 2017 -0700 ---------------------------------------------------------------------- .travis.yml | 1 - bin/templates/cordova/lib/builders/GradleBuilder.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/2d3f3cae/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index de22ad4..133dc20 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ install: - npm install - npm install -g codecov - echo y | android update sdk -u --filter android-22,android-23,android-24,android-25 - - gradle wrapper android: components: - tools http://git-wip-us.apache.org/repos/asf/cordova-android/blob/2d3f3cae/bin/templates/cordova/lib/builders/GradleBuilder.js ---------------------------------------------------------------------- diff --git a/bin/templates/cordova/lib/builders/GradleBuilder.js b/bin/templates/cordova/lib/builders/GradleBuilder.js index 6bad2d2..946cc75 100644 --- a/bin/templates/cordova/lib/builders/GradleBuilder.js +++ b/bin/templates/cordova/lib/builders/GradleBuilder.js @@ -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'}); } }; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
