Ok, I've found Peter answer in http://gradle.1045684.n5.nabble.com/How-to-call-a-task-from-another-task-td4338879.html#a4341203 this thread :
Peter Niederwieser wrote: > > The truth is that we don't officially support calling tasks > programmatically. Instead you are supposed to use task dependencies > whenever possible. > That explains, I'll try to use tasks dependencies next time. ----- Best regards, Evgeny evgeny-goldin.com -- View this message in context: http://gradle.1045684.n5.nabble.com/Explicitly-invoking-a-Task-when-there-s-no-Project-method-tp4458231p4472521.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