NativeBinary

API Documentation:NativeBinary

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

Represents a particular binary artifact.

Properties

PropertyDescription
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

PropertyDescription
assembler
Incubating

The Tool added by the assembler plugin.

Properties added by the c plugin

PropertyDescription
cCompiler
Incubating

The PreprocessingTool added by the c plugin.

Properties added by the cpp plugin

PropertyDescription
cppCompiler
Incubating

The PreprocessingTool added by the cpp plugin.

Properties added by the objective-c plugin

PropertyDescription
objectiveCCompiler
Incubating

The PreprocessingTool added by the objective-c plugin.

Properties added by the objective-cpp plugin

PropertyDescription
objectiveCppCompiler
Incubating

The PreprocessingTool added by the objective-cpp plugin.

Properties added by the windows-resources plugin

PropertyDescription
rcCompiler
Incubating

The PreprocessingTool added by the windows-resources plugin.

Methods

No methods

Script blocks

Script blocks added by the assembler plugin

BlockDescription
assembler
Incubating

Configures the Tool added by the assembler plugin.

Script blocks added by the c plugin

BlockDescription
cCompiler
Incubating

Configures the PreprocessingTool added by the c plugin.

Script blocks added by the cpp plugin

BlockDescription
cppCompiler
Incubating

Configures the PreprocessingTool added by the cpp plugin.

Script blocks added by the objective-c plugin

BlockDescription
objectiveCCompiler
Incubating

Configures the PreprocessingTool added by the objective-c plugin.

Script blocks added by the objective-cpp plugin

BlockDescription
objectiveCppCompiler
Incubating

Configures the PreprocessingTool added by the objective-cpp plugin.

Script blocks added by the windows-resources plugin

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

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.

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