You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikhil Khandelwal (JIRA)" <ji...@apache.org> on 2015/07/30 04:23:04 UTC

[jira] [Resolved] (CB-9351) Invalid cdvBuildMultipleApks typecasting

     [ https://issues.apache.org/jira/browse/CB-9351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikhil Khandelwal resolved CB-9351.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 4.1.0

> Invalid cdvBuildMultipleApks typecasting
> ----------------------------------------
>
>                 Key: CB-9351
>                 URL: https://issues.apache.org/jira/browse/CB-9351
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Alex N
>            Priority: Minor
>             Fix For: 4.1.0
>
>
> In build.gradle cdvBuildMultipleApks is casted as 
> {code}ext.cdvBuildMultipleApks = !!cdvBuildMultipleApks;{code} It does not work properly for strings tho. Another words {code}!!"false"{code} would always return *true*. That breaks the case when you control params from command line: {code}cordova build android -- --gradleArg=-PcdvBuildMultipleApks=false{code} since it's always string



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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