cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-7015) Support copying a lib-file from the SDK directory
Date Wed, 14 Oct 2015 04:52:05 GMT


ASF GitHub Bot commented on CB-7015:

Github user macdonst commented on the pull request:
    I'm not in favor of this PR being merged into master as I don't think we should add the
functionality CB-7015 asks for. There is no need to add a new tag to support as the framework
tag accomplishes exactly the same functionality. Yes, this requires that your Android project
use Gradle but Gradle support for Cordova Android has been around for almost a year so it
is time to upgrade your Cordova projects to use it.
    It doesn't make sense to add this code that duplicates functionality for a build system
that is deprecated. If we add this code we will be responsible for testing and maintaining
it going forward.

> Support copying a lib-file from the SDK directory
> -------------------------------------------------
>                 Key: CB-7015
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Plugman
>            Reporter: Martin Bektchiev
>            Assignee: Martin Bektchiev
>            Priority: Minor
> Many plugins need to refer to JARs from the Android SDK. They currently embed a copy
of the respective files in them and install it into the application's libs/ directory. This
however might create incompatibility issues with other plugins which may use the same or dependent
> A good alternative would be to be able to specify a relative path to the SDK directory
in <lib-file> as it is now possible with the <framework> element with custom=false.
> E.g. 
> <source-file src="src/android/com/plugin/android-support-v13.jar" target-dir="libs/"
> could become 
> <lib-file src="extras/android/support/v13/android-support-v13.jar" custom="false"
> in

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message