api / org.gradle.nativeplatform / NativeComponentSpec

NativeComponentSpec

@Incubating interface NativeComponentSpec : ComponentSpec

Definition of a software component that is to be built by Gradle to run a on JVM platform.

Functions

getBaseName

abstract fun getBaseName(): String

The name that is used to construct the output file names when building this component.

setBaseName

abstract fun setBaseName(baseName: String): Unit

Sets the name that is used to construct the output file names when building this component.

Inherited Functions

getProjectPath

abstract fun getProjectPath(): String

The path to the project containing this component.

Inheritors

NativeExecutableSpec

interface NativeExecutableSpec : ApplicationSpec, NativeComponentSpec, TargetedNativeComponent

Definition of a native executable component that is to be built by Gradle.

NativeLibrarySpec

interface NativeLibrarySpec : LibrarySpec, NativeComponentSpec, TargetedNativeComponent

Definition of a native library component that is to be built by Gradle.

NativeTestSuiteSpec

interface NativeTestSuiteSpec : TestSuiteSpec, NativeComponentSpec

A component representing a suite of tests that will be executed together.

TargetedNativeComponent

interface TargetedNativeComponent : PlatformAwareComponentSpec, NativeComponentSpec

A native component that can be configured to target certain variant dimensions. This functionality is a temporary workaround to eliminate configuration of unnecessary domain objects and tasks.