// tag::all[]
// tag::declare-task[]
task myCopy(type: Copy)
// end::declare-task[]

myCopy {
   from 'resources'
   into 'target'
   include('**/*.txt', '**/*.xml', '**/*.properties')
}
// end::all[]
