mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 03:53:09 +08:00
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:
parent
fb9f0f3ee8
commit
2d3f3cae13
@ -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
|
||||
|
@ -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'});
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user