copyTarget

abstract fun copyTarget(includes: List<String> = this.includes, excludes: List<String> = this.excludes, exclusive: Boolean = this.exclusive, outDirectory: String = this.outDirectory): Target

Returns a new Target object that is a copy of this one, but with the given fields updated.