# NativeBinary

API Documentation: | `NativeBinary`

Known Subtypes: |
`NativeLibraryBinary`
`NativeExecutableBinary`

Note: This class is deprecated and will be removed in the next major version of Gradle.

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

Represents a particular binary artifact.

### Properties

Property | Description
`buildType` | Incubating The `BuildType` used to construct this binary.
`flavor` | Incubating The `Flavor` that this binary was built with.
`targetPlatform` | Incubating The `NativePlatform` that this binary is targeted to run on.

### Methods

No methods

### Script blocks

No script blocks

### Property details

#### `BuildType` `buildType` (read-only)

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

The `BuildType` used to construct this binary.

#### `Flavor` `flavor` (read-only)

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

The `Flavor` that this binary was built with.

#### `NativePlatform` `targetPlatform` (read-only)

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

The `NativePlatform` that this binary is targeted to run on.