See the end of 
http://forums.gradle.org/gradle/topics/should_disabling_a_task_automatically_remove_any_artifact_it_might_publish

Basically, the proposed idea is to add an onlyIf() to Publication to facilitate 
making dynamic decisions on whether it should be published. A patch has been 
contributed and the author is willing to work with us to get it in if we want.

It's an interesting use case (listed in the ticket).

In some ways this feels preferable to dynamically declaring the publications.

-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com


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

    http://xircles.codehaus.org/manage_email


Reply via email to