i want to use the maven local repository additionally to a maven remote one. I found the JIRA-Issue http://issues.gradle.org/browse/GRADLE-1173 for that, but adapting my gra
Maven can only use a single local ("local" = on the harddisk of the computer on which Maven runs) repository.
If you need more, you're options are:
settings.xml. mvn install to copy the artifacts in your local repo (obviously only when you do have the sources)I also needed to do a similar setup with my project and I can verify your build.gradle setup works provided your Maven is setup correctly.
Gradle's mavenLocal() relies on the localRepository definition from the maven settings.xml file:
<localRepository>USER_HOME\.m2\repository</localRepository>
The settings.xml should be in either your M2_HOME/conf or your USER_HOME/.m2 directory. You should check:
M2_HOME environment variable exists settings.xml has the correct localRepository defined..