You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/12/31 04:52:13 UTC

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

Andrew Grieve created CB-8228:
---------------------------------

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