Export dependencies as ivy.xml


(Leonard Brünings) #1

Since we use both eclipse and netbeans for development and gradle has no netbeans plugin yet we need a common way to declare dependencies. Right now we have an ivy.xml that is parsed by some groovy code into gradle (http://issues.gradle.org/browse/GRADLE-197). Talking to Hans Docktor at the KA JUG he suggested using the ivy.xml that gradle generates. I could not find the task that generates the ivy.xml, the only place where if found something mentioned in the documentation was in the uploadArchives task. I want to have a task like exportIvy that exports my gradle dependencies as ivy.xml into the current directory.


(Szczepan Faber) #2

Hello Leonard.

Take a look at GRADLE-1811. The current workaround is documented there.

Hope that helps!


(Leonard Brünings) #3

Yes it the workaround works for now thanks.