// tag::all[]
// tag::no-description[]
task copy(type: Copy) {
// end::no-description[]
   description 'Copies the resource directory to the target directory.'
// tag::no-description[]
   from 'resources'
   into 'target'
   include('**/*.txt', '**/*.xml', '**/*.properties')
}
// end::no-description[]
// end::all[]
