# with

abstract fun with(sourceSpecs: Array<CopySpec>): CopySpec(source)

Adds the given specs as a child of this spec.

    def contentSpec = copySpec {
      from("content") {
        include "**/*.txt"
      }
    }

    task copy(type: Copy) {
      into "$buildDir/copy"
      with contentSpec
    }

Content copied to clipboard

#### Return

this

#### Since

0.9

#### Parameters

sourceSpecs

The specs to add