NativeBinary - Gradle DSL Version 2.9

# NativeBinary

API Documentation: | `NativeBinary`

Known Subtypes: |
`NativeExecutableBinary`
`NativeLibraryBinary`

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.

#### Properties added by the `assembler` plugin

Property | Description
`assembler` | Incubating The `Tool` added by the assembler plugin.

#### Properties added by the `c` plugin

Property | Description
`cCompiler` | Incubating The `PreprocessingTool` added by the c plugin.

#### Properties added by the `cpp` plugin

Property | Description
`cppCompiler` | Incubating The `PreprocessingTool` added by the cpp plugin.

#### Properties added by the `objective-c` plugin

Property | Description
`objectiveCCompiler` | Incubating The `PreprocessingTool` added by the objective-c plugin.

#### Properties added by the `objective-cpp` plugin

Property | Description
`objectiveCppCompiler` | Incubating The `PreprocessingTool` added by the objective-cpp plugin.

#### Properties added by the `windows-resources` plugin

Property | Description
`rcCompiler` | Incubating The `PreprocessingTool` added by the windows-resources plugin.

### Methods

No methods

### Script blocks

#### Script blocks added by the `assembler` plugin

Block | Description
`assembler` | Incubating Configures the `Tool` added by the assembler plugin.

#### Script blocks added by the `c` plugin

Block | Description
`cCompiler` | Incubating Configures the `PreprocessingTool` added by the c plugin.

#### Script blocks added by the `cpp` plugin

Block | Description
`cppCompiler` | Incubating Configures the `PreprocessingTool` added by the cpp plugin.

#### Script blocks added by the `objective-c` plugin

Block | Description
`objectiveCCompiler` | Incubating Configures the `PreprocessingTool` added by the objective-c plugin.

#### Script blocks added by the `objective-cpp` plugin

Block | Description
`objectiveCppCompiler` | Incubating Configures the `PreprocessingTool` added by the objective-cpp plugin.

#### Script blocks added by the `windows-resources` plugin

Block | Description
`rcCompiler` | Incubating Configures the `PreprocessingTool` added by the windows-resources plugin.

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

#### `Tool` `assembler` (read-only)

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

The `Tool` added by the assembler plugin.

#### `PreprocessingTool` `cCompiler` (read-only)

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

The `PreprocessingTool` added by the c plugin.

#### `PreprocessingTool` `cppCompiler` (read-only)

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

The `PreprocessingTool` added by the cpp plugin.

#### `PreprocessingTool` `objectiveCCompiler` (read-only)

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

The `PreprocessingTool` added by the objective-c plugin.

#### `PreprocessingTool` `objectiveCppCompiler` (read-only)

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

The `PreprocessingTool` added by the objective-cpp plugin.

#### `PreprocessingTool` `rcCompiler` (read-only)

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

The `PreprocessingTool` added by the windows-resources plugin.

### Script block details

#### `assembler` { }

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

Configures the `Tool` added by the assembler plugin.

Delegates to:
  `Tool` from `assembler`

#### `cCompiler` { }

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

Configures the `PreprocessingTool` added by the c plugin.

Delegates to:
  `PreprocessingTool` from `cCompiler`

#### `cppCompiler` { }

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

Configures the `PreprocessingTool` added by the cpp plugin.

Delegates to:
  `PreprocessingTool` from `cppCompiler`

#### `objectiveCCompiler` { }

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

Configures the `PreprocessingTool` added by the objective-c plugin.

Delegates to:
  `PreprocessingTool` from `objectiveCCompiler`

#### `objectiveCppCompiler` { }

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

Configures the `PreprocessingTool` added by the objective-cpp plugin.

Delegates to:
  `PreprocessingTool` from `objectiveCppCompiler`

#### `rcCompiler` { }

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

Configures the `PreprocessingTool` added by the windows-resources plugin.

Delegates to:
  `PreprocessingTool` from `rcCompiler`