NativeComponentSpec (Gradle API 8.12.1)
Description: declaration: package: org.gradle.nativeplatform, interface: NativeComponentSpec

Package org.gradle.nativeplatform

# Interface NativeComponentSpec

All Superinterfaces:
  `ComponentSpec`, `ModelElement`, `Named`

All Known Subinterfaces:
  `CUnitTestSuiteSpec`, `GoogleTestTestSuiteSpec`, `NativeExecutableSpec`, `NativeLibrarySpec`, `NativeTestSuiteSpec`, `TargetedNativeComponent`

@Incubating public interface NativeComponentSpec extends ComponentSpec
Definition of a software component that is to be built by Gradle to run a on JVM platform.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface org.gradle.api.Named

  `Named.Namer`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getBaseName()`
  The name that is used to construct the output file names when building this component.
  `void`
  `setBaseName(String baseName)`
  Sets the name that is used to construct the output file names when building this component.

  ### Methods inherited from interface org.gradle.platform.base.ComponentSpec

  `getProjectPath`

  ### Methods inherited from interface org.gradle.model.ModelElement

  `getDisplayName, getName`

- ## Method Details

  - ### getBaseName

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

  - ### setBaseName

    void setBaseName(String baseName)
    Sets the name that is used to construct the output file names when building this component.