Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19859

Controlling task configuration order

$
0
0

Don’t do this. Gradle has a “configuration” phase and an “execution” phase. A doLast {…} closure is running in the “execution” phase and by this time gradle has calculated the TaskGraph so it’s too late to be adding tasks to the model

See build phases


Viewing all articles
Browse latest Browse all 19859

Trending Articles