I am completely unfamiliar with gradle and groovy, and I have problems finding information about what is actually below in groovy language
task myTask(dependsOn: 'compile') << { println 'I am not affected' }
AFAIK {...} is a closure that seems to be transmitted regardless of what is defined before << .
Is task myTask() constructor call?
And what thing with a colon looks like a parameter?
What does << do? Is this an operator that was overloaded with gradle or is it standard groovy?
groovy gradle
ben Aug 31 '14 at 13:37 2014-08-31 13:37
source share