> From within a gradle build I need to kickoff a gradle build of another
> project.  The projects are not really subprojects and don't share any
> directory structure.  I will know via a system property where the
> second project is and I know ahead of time the name of the target that
> I need to execute in the second project.  Both projects are setup to
> be built with the gradle wrapper.
>
> How can I configure "project a" to initiate a build of "project b" for
> a scenario like that?

I've done this with the experimental Gradle build for Grails projects.
Check out this custom task:

  
http://github.com/pledbrook/grails-build-x/blob/master/src/main/groovy/grails/build/plugin/GrailsPluginsTask.groovy

It's not pretty, but it works. It may even be worth considering adding
something to Gradle core for this, or at least a plugin.

Cheers,

Peter

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to