|
Peter Niederwieser wrote: Adam Murdoch-2 wrote:Yes. Any method declared in a script is made available as a method on the corresponding Project object. Ah, I misunderstood your question. There isn't a supported way to have a project's build depend on the artifacts of another projects. You could, however, do something ugly like have a task add the jars to the project classloader and use the classes as dynamic objects. Alternatively, you could move the classes to the buildSrc project. It might be interesting if we were to generalise the buildSrc concept a bit, so that a project can declare an execution time dependency on another project, where before any task of the dependent project is executed, the other project is built and its classes added to the dependent project's classloader. Adam --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
- [gradle-user] Question on build script dependencies Peter Niederwieser
- Re: [gradle-user] Question on build script depende... Peter Niederwieser
- Re: [gradle-user] Question on build script dep... Adam Murdoch
- Re: [gradle-user] Question on build script... Peter Niederwieser
- Re: [gradle-user] Question on build sc... Adam Murdoch
- Re: [gradle-user] Question on bui... Hans Dockter
- Re: [gradle-user] Question on... Peter Niederwieser
