# 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 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 ComponentSpec

  `getProjectPath`

  ### Methods inherited from interface 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.