Thanks @jjustinic for your reply.
If it is task (myTask, type: SomeType) { configure closure }
, I understand the myTask
is the name
inside:
Task task(Map<String,?> args, String name, Closure configureClosure)
but, it is the: myTask(type: SomeType)
, there is ()
, it looks like a function call. How this function
works?