COPY's Examples

add a description to your task. This description is displayed when you execute the Gradle tasks and this is possible by using, the description

keyword. task copy(type: Copy)

{

description 'Copies the resource directory to the target directory.' from 'resources' into 'target' include('**/*.txt', '**/*.xml', '**/*.properties') println("description applied")

}

output:description applied

C:\> gradle –q copy