You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2015/09/23 21:58:24 UTC

[13/45] android commit: CB-9391 Fixes cdvBuildMultipleApks option casting

CB-9391 Fixes cdvBuildMultipleApks option casting

This closes #199


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/b20b2e78
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/b20b2e78
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/b20b2e78

Branch: refs/heads/5.0.x
Commit: b20b2e78a1abcb71a3167c2bdb9f2ee4160b183b
Parents: 662429a
Author: Malte Legenhausen <ml...@gmail.com>
Authored: Fri Jul 17 15:51:10 2015 +0200
Committer: Joe Bowser <bo...@apache.org>
Committed: Thu Aug 20 13:48:02 2015 -0700

----------------------------------------------------------------------
 bin/templates/project/build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/b20b2e78/bin/templates/project/build.gradle
----------------------------------------------------------------------
diff --git a/bin/templates/project/build.gradle b/bin/templates/project/build.gradle
index e40af30..289b7af 100644
--- a/bin/templates/project/build.gradle
+++ b/bin/templates/project/build.gradle
@@ -118,7 +118,7 @@ if (ext.cdvReleaseSigningPropertiesFile == null && file('release-signing.propert
 }
 
 // Cast to appropriate types.
-ext.cdvBuildMultipleApks = !!cdvBuildMultipleApks;
+ext.cdvBuildMultipleApks = cdvBuildMultipleApks == null ? false : cdvBuildMultipleApks.toBoolean();
 ext.cdvMinSdkVersion = cdvMinSdkVersion == null ? null : Integer.parseInt('' + cdvMinSdkVersion)
 ext.cdvVersionCode = cdvVersionCode == null ? null : Integer.parseInt('' + cdvVersionCode)
 


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