I am defining this task in my master project:

subprojects {

        task 'cleanGenlib' << {
                ant.delete(dir: "${projectDir}/src/main/genlib")
                ant.delete(dir: "${projectDir}/src/test/genlib")
        }
        clean.dependsOn cleanGenlib

}

Now, invoking "gradle clean" in a subproject triggers cleanGenlib on
all subprojects, not just the one I am working in (which is the
expected behavior).

Is this the way it's supposed to be, or am I missing something?

Regards,

Nacho.

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

    http://xircles.codehaus.org/manage_email


Reply via email to