groovy - Why those two task definition syntaxes equivalent? -
can explain why 2 task definitions in gradle equivalent?
task(type: copy, 'mytask')
and
task mytask(type: copy)
is groovy magic syntax thingy i'm not familiar with, or gradle preprocessing?
gradle seems use build script transformers, executed during buildscript compilation phase.
here's transformer you're looking for.
here list of transformations.
Comments
Post a Comment