From 931a996dab0413db4bcc152e1f61e67e94f7f27c Mon Sep 17 00:00:00 2001 From: fujunwei Date: Tue, 23 Dec 2014 09:34:36 +0800 Subject: [PATCH] Allow plugins to set ext.multiarch to enable multiple APK building The xwalk webView need build multiple apks by default after install cordova-crosswalk-engine plugin, we can set ext.multiarch=true to open the flag in plugin, it don't necessary set system environment BUILD_MULTIPLE_APKS manually. This closes #141 --- bin/templates/project/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/templates/project/build.gradle b/bin/templates/project/build.gradle index 1b92eb4d..a5faf91c 100644 --- a/bin/templates/project/build.gradle +++ b/bin/templates/project/build.gradle @@ -54,11 +54,11 @@ task wrapper(type: Wrapper) { gradleVersion = '2.2.1' } +ext.multiarch=false + // PLUGIN GRADLE EXTENSIONS START // PLUGIN GRADLE EXTENSIONS END -ext.multiarch=false - android { sourceSets { main {