Can Gradle refer to a defined nexus mirror server defined in my maven configuration?

(Jon Austen) #1

If i have a Maven .m2/settings.xml defined in my user home directory, and if I load the Gradle Maven plugin (see below), does it have the capability to load the local network nexus “mirror” entry that is defined in my settings.xml ?

apply plugin: ‘maven’

repositories {

mavenLocal() }

(Peter Niederwieser) #2

Except for the location of the local Maven repository, Gradle doesn’t take any information from Maven’s ‘settings.xml’. It could easily lead to confusing and hard to diagnose situations. Of course, you can always add such functionality yourself (with some scripting).