Hi,
so nearly a month later I had another play with getting our builds working
with gradle 1.0-m6.
My problem is actually related to the fact that I have version ranges in my
pure-ivy dependencies. Gradle seems to still delegate to Ivy to resolve
these (rather than using it's integrated resolver), but doesn't actually
pass on the ivy repository credentials defined in the ivy { .. {credentials
{} } } block.
As with previous version of Gradle, I have to include this block to get
things to work:
org.apache.ivy.util.url.CredentialsStore.INSTANCE.addCredentials("Sonatype
Nexus Repository Manager", "domain", "username", "password");
At the very least I think a note to this effect should be made in the docs.
Ideally the credentials would be passed through...
Phil.
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Gradle-1-0-m6-ivy-credentials-tp5023124p5097874.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email