gradleTask dependencies


Remarks

doLast

Note, that in a gradle 3.x more idiomatic way task definition: using explicit doLast{closure} notation instead "leftShift"(<<) operator preferable.(leftShift has been deprecated in a gradle 3.2 is scheduled to be removed in gradle 5.0.)

task oldStyle << {
    println 'Deprecated style task'
 }

is equivalent to:

task newStyle {
    doLast {
    println 'Deprecated style task'
    }
 }