This approach of parsing the ivy.xml was also mentioned in
http://jira.codehaus.org/browse/GRADLE-197

Could someone provide a bit of sample code to show how that could be done? I
am trying to work on a prototype of a Gradle version of our existing build
framework (Ant+Ivy) in my spare time, but this is a bit of a hurdle for a
Gradle newbie.


On Thu, Dec 30, 2010 at 2:05 PM, Adam Murdoch <[email protected]> wrote:

>
> On 31/12/2010, at 1:45 AM, Munoz, Pablo [Tech] wrote:
>
> When will we get import of ivy.xml and ivysettings.xml?
>
>
> We need to do some reorganising of the dependency DSL before importing
> ivy.xml files will work well. This reorganisation work is due to happen as
> part of the first couple of Gradle 1.0 milestone releases. Import of ivy.xml
> might happen as part of that work, or might happen after that.
>
> Importing ivysettings.xml is less likely to happen, as it is a bit too
> closely tied to the ivy infrastructure, and we want the option to replace
> some of this infrastructure. However, we might provide some limited form of
> import. What do you need the ivysettings.xml to support?
>
> In the meantime, it is possible to use ivy's API from your build script to
> parse the various files, and to drive the Gradle dependency DSL
> programmatically.
>
>
> --
> Adam Murdoch
> Gradle Developer
> http://www.gradle.org
> CTO, Gradle Inc. - Gradle Training, Support, Consulting
> http://www.gradle.biz
>
>

Reply via email to