gradle 1.10 internal maven repository indexing forever in intellij 13

I have two projects. One Maven and one Gradle. The company also has an internal maven repository. I am trying to setup Gradle to use the internal repo. Using Intellij 13, when I add the repo like so to Gradle in build.gradle

build.gradle file:

    apply plugin: 'java'
    apply plugin: 'war'

    sourceCompatibility = 1.5
    version = '1.0'

    maven {
            url ""
        maven {
            url ""

The .m2/settings.xml seems to be ignored completely by gradle (I tried by not adding the maven repo to the build.gradle file and hoping that gradle will look at .m2/settings.xml to figure out where to fetch artifacts from)

.m2/settings.xml file



Intellij spins forever in the background task saying "Processing indices" when the repo is is added. Without it things work just fine except the internal artifacts are not available for download.

However, the maven project requiring the same artifacts downloads and is ready in a few seconds.

I am very new to gradle. Did I make any mistake?


For the "indexing forever", I was using a fresh IntelliJ install and ended up just having to wait 15 - 20m @100% CPU per index. On subsequent launches there was no problem.

Need Your Help

The word @drawable is not correctly spelled

android android-3.0-honeycomb

I have a styles.xml file with the following in it:

Multiple Youtube players in one activity

android youtube youtube-api

I'm using the Youtube Android Player API as outlined here: