Any example on how to import dependencies from ivy.xml into Gradle at runtime at runtime?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Any example on how to import dependencies from ivy.xml into Gradle at runtime at runtime?

davide.cavestro
Hi all
I 'd like to use ivy deps into my gradle script.
At GRADLE-197 Hans Dockter said:
it is easy to write your own adapter which imports the ivy.xml into Gradle at runtime. We did this for a number of builds and it worked fine. We are talking about something like 30 lines of code.
Now the jira issue doesn't accepts new comments and Hans didn't provide any example there.
Importing deps from ivy descriptors could be useful to reach a good compromise: using the power of gradle and still having a good IDE integration (at least for dependencies, as gradle IDE integration seems somewhat still immature).
Any idea?

Cheers
Davide
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Any example on how to import dependencies from ivy.xml into Gradle at runtime at runtime?

Peter Niederwieser
The issue doesn't accept new comments because Gradle's issue tracker has moved to http://issues.gradle.org.

--
Peter Niederwieser 
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradleware
http://www.gradleware.com
Creator, Spock Framework
http://spockframework.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Any example on how to import dependencies from ivy.xml into Gradle at runtime at runtime?

davide.cavestro
Oh, sorry.
I am going to try there.
Thanks a lot Peter :-)

Cheers
Davide
Loading...