Hi Steve,

On 10/06/2011, at 3:13 AM, Steve Ebersole wrote:

> This is a multi-project build where the root project configures the 
> upload/pom information.  But for example, artifactId is picked up based on 
> sub-project name.  Is there a way to influence the pom vaues such as project 
> name and project description via values in the sub-project gradle scripts?

Here is one approach to this:

http://github.com/grails/grails-launcher/tree/master/build.gradle#L48

That configures a modifyPom(Closure modifications) method on all projects which 
can be used to tweak certain things…

https://github.com/grails/grails-launcher/blob/master/grails-launcher-ant/build.gradle#L7


I suspect that setting up the modifyPom() utility could be made a little 
simpler but I haven't spent the time to do so yet. I've used this technique 
successfully in a few projects.

I think the name element is already set to the name of each subproject though.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to