# Tar

Assembles a TAR archive.

### API Documentation

`Tar`

### Properties

Name | Type | Description
`compression` | `Compression` | The compression to use for this archive.
`archiveName` | `String` | The archive name. If the name has not been explicitly set, the pattern for the name is: `[baseName]-[appendix]-[version]-[classifier].[extension]`.
`destinationDir` | `File` | The directory where the archive is generated into.
`includes` | `Set` | The set of include patterns.
`excludes` | `Set` | The set of exclude patterns.

### Methods

Name | Signature | Description
`from` | `AbstractCopyTask from(Object... sourcePaths)` | Specifies source files or directories to include.