You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/01/16 22:33:35 UTC

[jira] [Commented] (CB-8228) Plugins should be able to include maven deps when using gradle

    [ https://issues.apache.org/jira/browse/CB-8228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280853#comment-14280853 ] 

ASF subversion and git services commented on CB-8228:
-----------------------------------------------------

Commit 83c8f22451d94a79abb8ec961e0db3dbcac04dd6 in cordova-amazon-fireos's branch refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-amazon-fireos.git;h=83c8f22 ]

CB-8228 Gradle: Allow plugins to use Maven dependencies


> Plugins should be able to include maven deps when using gradle
> --------------------------------------------------------------
>
>                 Key: CB-8228
>                 URL: https://issues.apache.org/jira/browse/CB-8228
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>
> Our build.gradle file does not add `mavenCentral` to the list of repositories, and so plugins are not able to use it (even if they add it via build-extras.gradle).
> To test, try adding this to a plugin that has a library:
> {code}
> repositories {
>     mavenCentral()
> }
> dependencies {
>     compile 'com.squareup.okhttp:okhttp-urlconnection:2.1.0'
> }
> {code}



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