Summary

In this chapter we learned how to create tasks in a build project. We created tasks with actions in several ways and learned how to configure tasks.

We skipped tasks by using predicates, throwing StopExecutionException, and enabling or disabling a task. And we even learned how to skip tasks from the command line.

A very powerful feature of Gradle is the incremental build support. If a task is up-to-date, it isn't executed. We can define the rules for determining the up-to-date state in the tasks definition.

In the next chapter, we will take a more in-depth look at the Gradle Project object.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.190.156.93