You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Hugo Gresse (JIRA)" <ji...@apache.org> on 2015/04/22 17:59:59 UTC

[jira] [Closed] (CB-8771) Document how to use maven repositories and gradle dependencies for Cordova Plugins

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

Hugo Gresse closed CB-8771.
---------------------------
    Resolution: Fixed

> Document how to use maven repositories and gradle dependencies for Cordova Plugins
> ----------------------------------------------------------------------------------
>
>                 Key: CB-8771
>                 URL: https://issues.apache.org/jira/browse/CB-8771
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI, Docs, Plugman
>    Affects Versions: 4.0.0
>            Reporter: Hugo Gresse
>            Priority: Minor
>
> I'm writing an plugin for Cordova which will use our own android library. The android library is hosted in our maven (via bintray) and the library is already in use in some Android Application. 
> The step we followed to add the library to an android app via gradle is : 
> {code:title=build.gradle|borderStyle=solid}
> repositories{
>     maven {
>         url  "http://dl.bintray.com/teads/TeadsSDK-android"
>     }
> }
> dependencies {
>     compile 'tv.teads.sdk:androidsdk:1.0.0'
> }
> {code}
> During all the test we have done to include the dependencies in the Cordova plugin, we have not achieving the same effect. When Android Studio find the library, Cordova didn't (via command line build tools).
> We have followed the step here https://crosswalk-project.org/jira/browse/XWALK-3467 (second solution) which is : 
> 1. Edit rootProjet.build.gradle and add repository, 
> 2. Same with CordovaLib/build.gradle
> 3. Add dependencies to  CordovaLib/build.gradle
> Is there a way use an aar in an Cordova Library? 



--
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