org.gradle.nativebinaries

## Interface NativeComponentSpec

- All Superinterfaces:
    ComponentSpec, Named
  All Known Subinterfaces:
    CUnitTestSuiteSpec, NativeExecutableSpec, NativeLibrarySpec, NativeTestSuiteSpec

      @Incubating
      public interface NativeComponentSpec
      extends ComponentSpec

  Represents a logical software component, which may be built in a number of variant binaries.

- - ### Nested Class Summary

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

      `Named.Namer`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getBaseName()` The name that is used to construct the output file names when building this component.
    `DomainObjectSet<NativeBinarySpec>` | `getBinaries()` The binaries that are built for 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.runtime.base.ComponentSpec

      `getDisplayName, getProjectPath, getSource, source`

    - ### Methods inherited from interface org.gradle.api.Named

      `getName`

- - ### Method Detail

    - #### getBinaries

          DomainObjectSet<NativeBinarySpec> getBinaries()

      The binaries that are built for this component. You can use this to configure the binaries for this component.
      Specified by:
        `getBinaries` in interface `ComponentSpec`

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