You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/05/13 04:42:49 UTC
[4/9] cordova-app-harness git commit: Add cordova-plugin-file assets
build hook
Add cordova-plugin-file assets build hook
The plugin will add it itself eventually.
Project: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/commit/ab7d4b17
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/tree/ab7d4b17
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/diff/ab7d4b17
Branch: refs/heads/master
Commit: ab7d4b1729123bdca7450249c984511be5c7d5b9
Parents: 141def8
Author: Andrew Grieve <ag...@chromium.org>
Authored: Tue Mar 17 10:22:20 2015 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue May 12 22:08:31 2015 -0400
----------------------------------------------------------------------
createproject.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/ab7d4b17/createproject.sh
----------------------------------------------------------------------
diff --git a/createproject.sh b/createproject.sh
index 666a679..b55bbb8 100755
--- a/createproject.sh
+++ b/createproject.sh
@@ -146,6 +146,10 @@ set -x
--searchpath="$PLUGIN_SEARCH_PATH" \
$PLUGIN_REGISTRY_FLAG || exit $?
+if [[ "$PLATFORMS" = *android* ]]; then
+ cp plugins/org.apache.cordova.file/src/android/build-extras.gradle platforms/android/build-extras.gradle
+fi
+
if [[ "$2" = "--allplugins" ]]; then
"$CORDOVA" plugin add \
org.apache.cordova.battery-status \
@@ -165,7 +169,7 @@ if [[ "$2" = "--allplugins" ]]; then
org.apache.cordova.splashscreen \
org.apache.cordova.statusbar \
org.apache.cordova.vibration \
- org.apache.cordova.whitelist \
+ cordova-plugin-whitelist \
--link \
--searchpath="$PLUGIN_SEARCH_PATH" \
$PLUGIN_REGISTRY_FLAG || exit $?
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org