This is a simple hello world task that simply outputs the line Hello World! upon execution. It can be run with the command below:
gradle -q helloWorld
The -q option represents quiet execution.
doLast is the last action that gets executed for a task. The << operator can also be used as a shortcut for doLast.