Gradle

Allow the usage of ivy.xml and ivysettings.xml with Gradle

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: 1.0
  • Component/s: None
  • Description:

    It should be rather easy to make this possible. We should also offer to merge declaration from ivy files with dependency declarations in the gradle build file.

Activity

Hide
Helmut Denk added a comment - 29/Aug/08 2:51 PM

implementation if 'config by ivysettings.xml' should have priority IMO.

Show
Helmut Denk added a comment - 29/Aug/08 2:51 PM implementation if 'config by ivysettings.xml' should have priority IMO.
Hide
Willem Verstraeten added a comment - 02/Jul/09 8:58 AM

Is there a target version for this ? Being able to have Ivy files would allow me to reuse the Ivy dependency information in the build process as well as in the IDE's of our developers, which is quite an important requirement for us.

Show
Willem Verstraeten added a comment - 02/Jul/09 8:58 AM Is there a target version for this ? Being able to have Ivy files would allow me to reuse the Ivy dependency information in the build process as well as in the IDE's of our developers, which is quite an important requirement for us.
Hide
Willem Verstraeten added a comment - 02/Jul/09 9:01 AM

Alternatively having gradle support in our IDE's (in the sense that the IDE's can get their module configurations from the gradle build scripts) would also be acceptable, but then IntelliJ as well as Eclipse should be supported. I think it's easier if you can parse the ivy.xml files in gradle and let the existing IDE-Ivy plugins (ie. IvyIDEA and IvyDE) handle the IDE configuration.

Show
Willem Verstraeten added a comment - 02/Jul/09 9:01 AM Alternatively having gradle support in our IDE's (in the sense that the IDE's can get their module configurations from the gradle build scripts) would also be acceptable, but then IntelliJ as well as Eclipse should be supported. I think it's easier if you can parse the ivy.xml files in gradle and let the existing IDE-Ivy plugins (ie. IvyIDEA and IvyDE) handle the IDE configuration.
Hide
Hans Dockter added a comment - 02/Jul/09 10:48 PM

We might do it step-by-step. What would be very easy to implement is an Ivy-plugin that allows you to generate an ivy.xml and ivysetting.xml file from the Gradle dependency information. Gradle does this anyhow internally. The other way round is more difficult but has also a pretty high priority to use. I hope we can ship a first version of the Ivy plugin in 0.8.

Show
Hans Dockter added a comment - 02/Jul/09 10:48 PM We might do it step-by-step. What would be very easy to implement is an Ivy-plugin that allows you to generate an ivy.xml and ivysetting.xml file from the Gradle dependency information. Gradle does this anyhow internally. The other way round is more difficult but has also a pretty high priority to use. I hope we can ship a first version of the Ivy plugin in 0.8.
Hide
Uldis Karlovs-Karlovskis added a comment - 23/Oct/09 9:22 AM

For me highest priority is to have ivy.xml per module of multi-project build.

Show
Uldis Karlovs-Karlovskis added a comment - 23/Oct/09 9:22 AM For me highest priority is to have ivy.xml per module of multi-project build.
Hide
Barry MacMahon added a comment - 05/Nov/09 9:46 AM

This feature would speed up or enable the adoption of gradle by companies who have an ivy based build in and also by allowing integration with IDEs via ivy plugins as mentioned above.

Show
Barry MacMahon added a comment - 05/Nov/09 9:46 AM This feature would speed up or enable the adoption of gradle by companies who have an ivy based build in and also by allowing integration with IDEs via ivy plugins as mentioned above.
Hide
Richard Vowles added a comment - 17/Aug/10 5:36 AM

What else is critical is to have the option to override the dependencies that are in the Gradle build file from the ivy.xml settings (and hopefully ivysettings.xml as well). This is important for a reproduceability of build reason - you need to know exactly what versions of what artifacts were resolved when the module was built and tagged and released. If you cannot rebuild the exact same release with the exact same versions of your dependencies, you don't have the same build.

I say the ivysettings.xml as well, as some of us have different version range resolvers for compile scope vs run scope. That said, the resolvers themselves won't change in the Gradle build file, so it is less important.

Show
Richard Vowles added a comment - 17/Aug/10 5:36 AM What else is critical is to have the option to override the dependencies that are in the Gradle build file from the ivy.xml settings (and hopefully ivysettings.xml as well). This is important for a reproduceability of build reason - you need to know exactly what versions of what artifacts were resolved when the module was built and tagged and released. If you cannot rebuild the exact same release with the exact same versions of your dependencies, you don't have the same build. I say the ivysettings.xml as well, as some of us have different version range resolvers for compile scope vs run scope. That said, the resolvers themselves won't change in the Gradle build file, so it is less important.

People

Dates

  • Created:
    29/Aug/08 3:02 AM
    Updated:
    17/Aug/10 5:36 AM