This is an automated email from the ASF dual-hosted git repository. normanbreau pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cordova-android.git
The following commit(s) were added to refs/heads/master by this push: new ec944cf fix: gradle ignore properties (#1018) ec944cf is described below commit ec944cf0683d2b01cc5dc636ea6f8738d9e4d019 Author: Norman Breau <nor...@normanbreau.com> AuthorDate: Sun Jul 5 11:19:56 2020 -0300 fix: gradle ignore properties (#1018) --- bin/templates/cordova/lib/builders/ProjectBuilder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/templates/cordova/lib/builders/ProjectBuilder.js b/bin/templates/cordova/lib/builders/ProjectBuilder.js index fdf35be..9e733ef 100644 --- a/bin/templates/cordova/lib/builders/ProjectBuilder.js +++ b/bin/templates/cordova/lib/builders/ProjectBuilder.js @@ -330,7 +330,7 @@ class ProjectBuilder { var wrapper = path.join(this.root, 'gradlew'); var args = this.getArgs(opts.buildType === 'debug' ? 'debug' : 'release', opts); - return execa(wrapper, args, { stdio: 'inherit' }) + return execa(wrapper, args, { stdio: 'inherit', cwd: path.resolve(this.root) }) .catch(function (error) { if (error.toString().indexOf('failed to find target with hash string') >= 0) { return check_reqs.check_android_target(error).then(function () { @@ -346,7 +346,7 @@ class ProjectBuilder { clean (opts) { const wrapper = path.join(this.root, 'gradlew'); const args = this.getArgs('clean', opts); - return execa(wrapper, args, { stdio: 'inherit' }) + return execa(wrapper, args, { stdio: 'inherit', cwd: path.resolve(this.root) }) .then(() => { fs.removeSync(path.join(this.root, 'out')); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org