NativeBinarySpec

Represents a binary artifact that is the result of building a native component.

Inheritors

Functions

Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>)
Adds tasks required to build this component.
Link copied to clipboard
abstract fun checkedBy(tasks: Array<Any>)
Adds tasks required to check this component.
Link copied to clipboard
abstract fun getAssembler(): Tool
The configuration of the assembler used when compiling assembly sources this binary.
Link copied to clipboard
Returns a dependency which contains the tasks which build this artifact.
Link copied to clipboard
@Nullable
abstract fun getBuildTask(): @Nullable Task
Returns the task responsible for building this component.
Link copied to clipboard
abstract fun getBuildType(): BuildType
Returns the org.gradle.nativeplatform.BuildType used to construct this binary.
Link copied to clipboard
The configuration of the C compiler used when compiling C sources for this binary.
Link copied to clipboard
@Nullable
abstract fun getCheckTask(): @Nullable Task
Returns the task responsible for checking this component.
Link copied to clipboard
The component that this binary was built from.
Link copied to clipboard
The configuration of the C++ compiler used when compiling C++ sources for this binary.
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human-consumable display name for this binary.
Link copied to clipboard
abstract fun getFlavor(): Flavor
The org.gradle.nativeplatform.Flavor that this binary was built with.
Link copied to clipboard
Returns all inputs of the binary.
Link copied to clipboard
The libraries that should be linked into this binary.
Link copied to clipboard
abstract fun getLinker(): Tool
The configuration of the linker used when linking this binary.
Link copied to clipboard
abstract fun getName(): String
Returns the name of this element.
Link copied to clipboard
The configuration of the Objective-C compiler used when compiling Objective-C sources for this binary.
Link copied to clipboard
The configuration of the Objective-C++ compiler used when compiling Objective-C++ sources for this binary.
Link copied to clipboard
abstract fun getProjectPath(): String
The path to the project containing this component.
Link copied to clipboard
The configuration of the Resource compiler used when compiling resources for this binary.
Link copied to clipboard
The sources owned by this binary.
Link copied to clipboard
abstract fun getStaticLibArchiver(): Tool
The configuration of the static library archiver used when creating this binary.
Link copied to clipboard
Returns the org.gradle.nativeplatform.platform.NativePlatform that this binary is targeted to run on.
Link copied to clipboard
The set of tasks associated with this binary.
Link copied to clipboard
Returns the org.gradle.nativeplatform.toolchain.NativeToolChain that will be used to build this binary.
Link copied to clipboard
Link copied to clipboard
abstract fun isBuildable(): Boolean
Can this binary be built in the current environment?
Link copied to clipboard
abstract fun lib(library: Any)
Adds a library as input to this binary.
Link copied to clipboard
abstract fun setBuildTask(@Nullable buildTask: @Nullable Task)
Specifies the task responsible for building this component.
Link copied to clipboard
abstract fun setCheckTask(@Nullable checkTask: @Nullable Task)
Specifies the task responsible for checking this component.