You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2017/04/20 17:08:04 UTC
[jira] [Resolved] (CB-12293) The addPlugin function in Api.js
assumes Gradle is used for build (patch introduced for Gradle in
cordova-android version 6.0.0)
[ https://issues.apache.org/jira/browse/CB-12293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser resolved CB-12293.
-----------------------------
Resolution: Won't Fix
The good news is that I have to fix this because I'm writing a new buidler for Android Studio Gradle. The bad news is that Google removed all support for Ant builds and left us high and dry, so I have to basically mark this as won't fix. Once I'm done my changes, you could probably patch this and make this work, but I'm going to leave this to the community to re-open and work on.
Sorry about this, but we have zero control over what the Android Tools at Google decides to do.
> The addPlugin function in Api.js assumes Gradle is used for build (patch introduced for Gradle in cordova-android version 6.0.0)
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: CB-12293
> URL: https://issues.apache.org/jira/browse/CB-12293
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 6.0.0
> Reporter: Sasa Bojanic
> Assignee: Joe Bowser
>
> The patch for Gradle in Api.js, addPlugin function assumes that Gradle is used for build.
> However, I'm using ant, in which case it unnecessarily downloads Gradle, etc...
> This issue is introduced in cordova-android version 6.0.0:
> return Q()
> .then(function () {
> //CB-11964: Do a clean when installing the plugin code to get around
> //the Gradle bug introduced by the Android Gradle Plugin Version 2.2
> //TODO: Delete when the next version of Android Gradle plugin comes out
> // Since clean doesn't just clean the build, it also wipes out www, we need
> // to pass additional options.
> // Do some basic argument parsing
> var opts = installOptions;//{"options":{"argv":["--ant"]}};
> // Skip cleaning prepared files when not invoking via cordova CLI.
> opts.noPrepare = true;
> return self.clean(opts);
> })
> ....
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org