api / org.gradle.language.nativeplatform / ComponentWithRuntimeFile

ComponentWithRuntimeFile

@Incubating interface ComponentWithRuntimeFile : ComponentWithNativeRuntime

Represents a native component that produces a file to be used at runtime.

Since
4.5

Functions

getRuntimeFile

abstract fun getRuntimeFile(): Provider<RegularFile>

Returns the runtime file of this component.

Inherited Functions

getBaseName

abstract fun getBaseName(): Provider<String>

Returns the base name of this component. This is used to calculate output file names.

getTargetPlatform

abstract fun getTargetPlatform(): NativePlatform

Returns the target platform for this component.

getToolChain

abstract fun getToolChain(): NativeToolChain

Returns the tool chain for this component.

isDebuggable

abstract fun isDebuggable(): Boolean

Returns true if this component has debugging enabled.

isOptimized

abstract fun isOptimized(): Boolean

Returns true if this component is optimized.

Inheritors

ComponentWithSharedLibrary

interface ComponentWithSharedLibrary : ComponentWithLinkFile, ComponentWithRuntimeFile

Represents a native component that produces a shared library.