[
https://issues.apache.org/jira/browse/CB-10112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Kotikov closed CB-10112.
---------------------------------
Resolution: Fixed
> Cannot pass through CLI arguments with cordova-android@5
> --------------------------------------------------------
>
> Key: CB-10112
> URL: https://issues.apache.org/jira/browse/CB-10112
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, CLI
> Affects Versions: 5.4.0, 5.4.1
> Environment: Mac OSX El Capitan
> Reporter: Christian Cook
> Assignee: Vladimir Kotikov
>
> Since updating to cordova 5.4.1 and cordova-android 5.0.0 I have not been
> able to pass through additional arguments in the CLI. For example, I am
> trying to perform the following:
> cordova build android -- --gradleArg="-PactiveFlavor=beta"
> On previous versions, this would get picked up by my custom
> build-extras.gradle file so I can specify what flavor of app to produce.
> Since updating the property never makes it through and doesn't get assigned.
> There have been discussions on this issue within the #cordova-android slack
> channel, and it appears to be caused by /cordova/lib/build.js not finding the
> converted argument options.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]