Hi Howard,

I think there is a simple explanation why this is hard to figure out. We
have the important concept in our domain of aggregation. So far Gradle does
not capture this concept explicitly with its domain model. We will do this
eventually. Right now the solution is not too bad but after all it is an
implicit, programmatic solution vs an explicit, DSL solution. The latter
would be much easier to find.

BTW: Let's assume you are the build master for a large enterprise and the
Gradle guys would be just too ignorant to add aggregation to the DSL ;).
Thanks to the extensibility of the Gradle DSL you could write a plugin that
adds the concept of an aggregation to the DSL.

Cheers

Hans

--
Hans Dockter
Founder, Gradle
http://www.gradle.org, http://twitter.com/gradleware
CEO, Gradleware - Gradle Training, Support, Consulting
http://www.gradleware.com


On Tue, Apr 19, 2011 at 7:16 PM, Howard Lewis Ship <[email protected]> wrote:

> Thanks!  This seems to be working:
>
> task continuousIntegration(dependsOn: [subprojects.build,
> 'aggregateJavadoc'])
>
>
> That's very tight and clean ... I'm just a bit daunted because I'm not
> sure how I would have found that without asking on the list.
>
> On Tue, Apr 19, 2011 at 5:13 AM, Peter Niederwieser <[email protected]>
> wrote:
> >
> > Robert Fischer wrote:
> >>
> >> Don't you have to do subprojects*.tasks*.build these days? For some
> >> reason, I've got it in my head that the direct project -> task link
> >> was broken.
> >>
> >
> > "subprojects.build" is enough (no ".tasks", no *'s).
> >
> > --
> > Peter Niederwieser
> > Developer, Gradle
> > http://www.gradle.org
> > Trainer & Consultant, Gradleware
> > http://www.gradleware.com
> > Creator, Spock Framework
> > http://spockframework.org
> >
> >
> > --
> > View this message in context:
> http://gradle.1045684.n5.nabble.com/Create-a-top-level-build-that-triggers-build-in-each-subproject-tp4312246p4313109.html
> > Sent from the gradle-user mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >    http://xircles.codehaus.org/manage_email
> >
> >
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to