I'm using Gradle and I try to configure for my Android project. I read document and I see that there are two ways of defining a task.
Without << Operator
task SampleTask {
methodA param1 param2
}
With << Operator:
Task SampleTask <<{
methodA param1 param2
}
My question is: what is real differences between above 2 ways?
Thanks :)