Hello, I just started looking at Gradle so forgive me if I ask the obvious (though I did make an effort before posting...).
I have a multi-module project built by a master ant-script that call the individual modules' build.xml in order. Each individual build.xml picks up the jars it needs from the dist directories of modules that built before it. Now I want to turn this monster into gradle, gradually. Basically I want to use the existing build.xml in a module, if a build.gradle does not exist (if a build.gradle exists the build.xml should be ignored). The imported project should then somehow be decorated with declaration of the artifacts it produces so that I can pick it up from depending build.gradles (I understand this happens magically if you use the java plugin e.g.). In my case I know that the produced artifacts will be all the jars in the dist directory of the module, so it should be possible to express generically. So, my question is then: How do I declare the jars I built as artifacts, and can I do that in a generic way so that I can pass it to allprojects? TIA, Simon Tardell.
