What is the difference between concepts Custom Task and Enhanced Task in Gradle? -
i meet in gradle documentation these concepts. difference between them?
from know custom task class encapsulates logic, enhanced task , difference between them?
a simple task
in gradle instance of defaulttask , not out of box. make have add code task definition in build script.
an enhanced task
instance of different class (for example copy task instance of copy) , has behaviour out of box. need configure behaviour in build script (eg tell copy , to)
a custom task
enhanced task instance of class wrote yourself.
Comments
Post a Comment