[jira] [Updated] (CB-8771) Add maven repositories and gradle dependencies to an cordova library

2015-03-31 Thread Hugo Gresse (JIRA)

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

Hugo Gresse updated CB-8771:

Affects Version/s: 3.7.1

 Add maven repositories and gradle dependencies to an cordova library
 

 Key: CB-8771
 URL: https://issues.apache.org/jira/browse/CB-8771
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.7.1
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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-8771) Add maven repositories and gradle dependencies to an cordova library

2015-03-30 Thread Hugo Gresse (JIRA)

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

Hugo Gresse updated CB-8771:

Description: 
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? 

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

`repositories{
maven {
url  http://dl.bintray.com/teads/TeadsSDK-android;
}
}

dependencies {
compile 'tv.teads.sdk:androidsdk:1.0.0'
}`

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? 


 Add maven repositories and gradle dependencies to an cordova library
 

 Key: CB-8771
 URL: https://issues.apache.org/jira/browse/CB-8771
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org