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:43:44 UTC

[cordova-mobile-spec] 04/05: 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-cleanup
in repository https://gitbox.apache.org/repos/asf/cordova-mobile-spec.git

commit c16beea19db490b0a187da37acd3e0ef980099e7
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 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/createmobilespec/createmobilespec.js b/createmobilespec/createmobilespec.js
index c50397d..357d1c6 100755
--- a/createmobilespec/createmobilespec.js
+++ b/createmobilespec/createmobilespec.js
@@ -520,11 +520,11 @@ if (argv.plugman) {
         console.log("platformArg: " + cli + " " + platformArg);
         var linkPlatformsFlag = (argv.link || argv.linkplatforms) ? ' --link' : '';
         executeShellCommand(cli + ' platform add "' + platformArg + '" --verbose' + linkPlatformsFlag);
-        // TODO
+
         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