# Interface NativeComponentSpec

All Superinterfaces:
  `ComponentSpec, ModelElement, Named`

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

@Incubating @Deprecated public interface NativeComponentSpec extends ComponentSpec
Deprecated.
The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. `cpp-application`, `cpp-library`, `swift-application`, `swift-library`, `xctest`) instead.
Definition of a software component that is to be built by Gradle to run a on JVM platform.

Since:
  2.2

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from interface Named

  `Named.Namer`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getBaseName()`
  Deprecated.
  The name that is used to construct the output file names when building this component.
  `void`
  `setBaseName(String baseName)`
  Deprecated.
  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()
    Deprecated.
    The name that is used to construct the output file names when building this component.
    Since:
      2.2

  - ### setBaseName

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