[
https://issues.apache.org/jira/browse/CB-8771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser updated CB-8771:
---------------------------
Component/s: Plugman
CLI
Affects Version/s: (was: 3.7.1)
4.0.0
Summary: Document how to use maven repositories and gradle
dependencies for Cordova Plugins (was: Add maven repositories and gradle
dependencies to an cordova library)
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]