Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91AED17EB4 for ; Wed, 22 Apr 2015 15:56:14 +0000 (UTC) Received: (qmail 28213 invoked by uid 500); 22 Apr 2015 15:55:59 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 28188 invoked by uid 500); 22 Apr 2015 15:55:59 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 28165 invoked by uid 99); 22 Apr 2015 15:55:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2015 15:55:58 +0000 Date: Wed, 22 Apr 2015 15:55:58 +0000 (UTC) From: "Joe Bowser (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-8771) Document how to use maven repositories and gradle dependencies for Cordova Plugins MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org