# 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
`executableFile` | Incubating The executable file to install.
`installDirectory` | Incubating The directory to install files into.
`libs` | Incubating The library files that should be installed.
`runScriptFile` | Incubating The script file that can be used to run the install image.
`targetPlatform` | Incubating The platform being linked for.
`toolChain` | Incubating The tool chain used for linking.

### 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

#### `RegularFileProperty` `executableFile`

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

The executable file to install.

#### `DirectoryProperty` `installDirectory`

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.

#### ``Provider`<`RegularFile`>` `runScriptFile`

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

The script file that can be used to run the install image.

#### ``Property`<`NativePlatform`>` `targetPlatform`

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

The platform being linked for.

#### ``Property`<`NativeToolChain`>` `toolChain`

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

The tool chain used for linking.

### 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[])`.