# InstallExecutable

API Documentation: | `InstallExecutable`

Note: This class is incubating and may change in a future version of Gradle.

Installs an executable with it's dependent libraries so it can be easily executed.

### Properties

Property | Description
`installDirectory` | Incubating The directory to install files into.
`libs` | Incubating The library files that should be installed.
`sourceFile` | Incubating The executable file to install.

### Methods

Method | Description
`lib(libs)` | Incubating Adds a set of library files to be installed. The provided libs object is evaluated as per `Project.files(java.lang.Object[])`.

### Script blocks

No script blocks

### Property details

#### `DirectoryProperty` `installDirectory` (read-only)

Note: This property is incubating and may change in a future version of Gradle.

The directory to install files into.

#### `FileCollection` `libs`

Note: This property is incubating and may change in a future version of Gradle.

The library files that should be installed.

#### `RegularFileProperty` `sourceFile` (read-only)

Note: This property is incubating and may change in a future version of Gradle.

The executable file to install.

### Method details

#### `void` `lib`(`Object` libs)

Note: This method is incubating and may change in a future version of Gradle.

Adds a set of library files to be installed. The provided libs object is evaluated as per `Project.files(java.lang.Object[])`.