Hello!
I need afterEvaluate { Project subproject -> to go through every project
module to check its properties and any module specific things. The
recommended solution of yours now gives previous problem I had:

Cause: Cannot add task ':ejb-module-session:compileUnitTests' as a task with
that name already exists.

what means that new task name during first project module build generation
was defined on root project, but I need it for sub-project (project module).
ejb-module-session is 2nd project module.

My goal is to develop root build.gradle script for multi-project build which
has all needed functionality to build any artefacts I have. After then I
create module/build.gradle file with single entry "artifactType = 'jar'" and
root build.gradle generates dynamic build tasks for it. Imo it is totally
unusable to duplicate this information per every project module where I want
to build jar with specific tests.

I don`t want to use existing Test task couse I`ll have more than one test
type and it will be a bad style to rewrite Test input data on every test
type.
-- 
View this message in context: 
http://www.nabble.com/addAfterEvaluateListener--%3E-afterEvaluate---tp24589609p25369602.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


Reply via email to