@Incubating interface NativeLibraryBinarySpec : NativeBinarySpec, LibraryBinarySpec
Represents a binary artifact that is the result of building a native library component.
abstract fun getComponent(): NativeLibrarySpec
{@inheritDoc} |
|
abstract fun getLibrary(): NativeLibrarySpec
{@inheritDoc} |
abstract fun getAssembler(): Tool
The configuration of the assembler used when compiling assembly sources this binary. Valid for SharedLibraryBinarySpec, StaticLibraryBinarySpec and NativeExecutableBinarySpec when the 'assembler' plugin is applied. |
|
abstract fun getBuildType(): BuildType
Returns the org.gradle.nativeplatform.BuildType used to construct this binary. |
|
abstract fun getCppCompiler(): PreprocessingTool
The configuration of the C++ compiler used when compiling C++ sources for this binary. Valid for SharedLibraryBinarySpec, StaticLibraryBinarySpec and NativeExecutableBinarySpec when the 'cpp' plugin is applied. |
|
abstract fun getFlavor(): Flavor
The org.gradle.nativeplatform.Flavor that this binary was built with. |
|
abstract fun getLibs(): MutableCollection<NativeDependencySet>
The libraries that should be linked into this binary. |
|
abstract fun getLinker(): Tool
The configuration of the linker used when linking this binary. Valid for SharedLibraryBinarySpec and NativeExecutableBinarySpec. |
|
abstract fun getObjcCompiler(): PreprocessingTool
The configuration of the Objective-C compiler used when compiling Objective-C sources for this binary. Valid for SharedLibraryBinarySpec, StaticLibraryBinarySpec and NativeExecutableBinarySpec when the 'objective-c' plugin is applied. |
|
abstract fun getObjcppCompiler(): PreprocessingTool
The configuration of the Objective-C++ compiler used when compiling Objective-C++ sources for this binary. Valid for SharedLibraryBinarySpec, StaticLibraryBinarySpec and NativeExecutableBinarySpec when the 'objective-cpp' plugin is applied. |
|
abstract fun getRcCompiler(): PreprocessingTool
The configuration of the Resource compiler used when compiling resources for this binary. Valid for SharedLibraryBinarySpec, StaticLibraryBinarySpec and NativeExecutableBinarySpec when the 'windows-resources' plugin is applied. |
|
abstract fun getStaticLibArchiver(): Tool
The configuration of the static library archiver used when creating this binary. Valid for StaticLibraryBinarySpec. |
|
abstract fun getTargetPlatform(): NativePlatform
Returns the org.gradle.nativeplatform.platform.NativePlatform that this binary is targeted to run on. |
|
abstract fun getToolChain(): NativeToolChain
Returns the org.gradle.nativeplatform.toolchain.NativeToolChain that will be used to build this binary. |
|
abstract fun getcCompiler(): PreprocessingTool
The configuration of the C compiler used when compiling C sources for this binary. Valid for SharedLibraryBinarySpec, StaticLibraryBinarySpec and NativeExecutableBinarySpec when the 'c' plugin is applied. |
|
abstract fun lib(library: Any): Unit
Adds a library as input to this binary. This method accepts the following types:
|
interface SharedLibraryBinarySpec : NativeLibraryBinarySpec
A shared library binary built by Gradle for a native library. |
|
interface StaticLibraryBinarySpec : NativeLibraryBinarySpec
A static library binary built by Gradle for a native library. |