gradle Task dependencies

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

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'
    }
 }


Got any gradle Question?