On 06/09/2011 06:24 PM, Luke Daley wrote:
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 guess I was hoping for a "built in" way, but thanks for pointing that out!


I think the name element is already set to the name of each subproject though.

I am not familiar with project name as a Gradle property. You mean aside from the artifactId? Your scripts are manually setting a name as well. All i know is that on upload initially our project name in the generated poms were not being set.


--
Steve Ebersole <[email protected]>
http://hibernate.org

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

   http://xircles.codehaus.org/manage_email


Reply via email to