You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/11/24 11:45:51 UTC

[cordova-mobile-spec] 01/01: fix location of key and build-extra.gradle for cordova-anroid 7.x

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-fix_android_keystore
in repository https://gitbox.apache.org/repos/asf/cordova-mobile-spec.git

commit 836491fe79ac08009e73182180ec527ba97b035d
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sat Nov 24 12:28:48 2018 +0100

    fix location of key and build-extra.gradle for cordova-anroid 7.x
---
 createmobilespec/createmobilespec.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/createmobilespec/createmobilespec.js b/createmobilespec/createmobilespec.js
index f267328..ad5ecbb 100755
--- a/createmobilespec/createmobilespec.js
+++ b/createmobilespec/createmobilespec.js
@@ -515,9 +515,9 @@ if (argv.plugman) {
         var linkPlatformsFlag = (argv.link || argv.linkplatforms) ? ' --link' : '';
         shelljs.exec(cli + ' platform add "' + platformArg + '" --verbose' + linkPlatformsFlag);
         if (platform == 'android') {
-            shelljs.cp(path.join(__dirname, 'helper_files', 'android-debug-key.properties'), path.join('platforms', 'android'));
-            shelljs.cp(path.join(__dirname, 'helper_files', 'android-debug-key.p12'), path.join('platforms', 'android'));
-            shelljs.cp(path.join(__dirname, 'helper_files', 'build-extras.gradle'), path.join('platforms', 'android'));
+            shelljs.cp(path.join(__dirname, 'helper_files', 'android-debug-key.properties'), path.join('platforms', 'android', 'app'));
+            shelljs.cp(path.join(__dirname, 'helper_files', 'android-debug-key.p12'), path.join('platforms', 'android', 'app'));
+            shelljs.cp(path.join(__dirname, 'helper_files', 'build-extras.gradle'), path.join('platforms', 'android', 'app'));
         }
     });
     popd();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org