On Jan 23, 2009, at 6:27 PM, Tom Jordan wrote:

So is the external config file going to be an ivy-settings.xml file?

No. It will be a Groovy script which allows you to add listeners to different phases of the build. Those listeners have for example access to the project object, the same way the build.gradle script has.

Being able to automatically process an ivy-settings file is another issue (there is a Jira for this). What you can do already in your build.gradle is something like:

IvySettings settings = new IvySettings()
settings.load("pathToIvySettings.xml")

You can now inject the resolvers of the settings file to the Gradle dependency management.

- Hans



-----Original Message-----
From: "Gregory Boissinot" <[email protected]>
To: [email protected]
Sent: 1/23/2009 9:06 AM
Subject: Re: [gradle-user] Gradle with a Maven repository manager


Yes, I mean putting the complete configuration repository manager in a user settings (like in Maven) in order to be reuse in all the different Gradle
projects

Good news that it should be possible in the 0.6 Gradle
--
View this message in context: 
http://www.nabble.com/Gradle-with-a-Maven-repository-manager-tp21623124p21626032.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe fro
[truncated by sender]

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to