# NativeComponentSpec

API Documentation: | `NativeComponentSpec`

Known Subtypes: |
`NativeExecutableSpec`
`NativeLibrarySpec`
`NativeTestSuiteSpec`

Note: This class is incubating and may change in a future version of Gradle.

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

### Properties

Property | Description
`baseName` | Incubating The name that is used to construct the output file names when building this component.
`binaries` | Incubating The binaries that are built for this component. You can use this to configure the binaries for this component.
`displayName` | Incubating Returns a human-consumable display name for this component.
`source` | Deprecated Incubating The source sets that are used to build this component.

### Methods

No methods

### Script blocks

No script blocks

### Property details

#### `String` `baseName`

Note: This property is incubating and may change in a future version of Gradle.

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

#### ``ModelMap`<`BinarySpec`>` `binaries` (read-only)

Note: This property is incubating and may change in a future version of Gradle.

The binaries that are built for this component. You can use this to configure the binaries for this component.

#### `String` `displayName` (read-only)

Note: This property is incubating and may change in a future version of Gradle.

Returns a human-consumable display name for this component.

#### ``ModelMap`<`LanguageSourceSet`>` `source` (read-only)

Note: This property is deprecated and will be removed in the next major version of Gradle.

Note: This property is incubating and may change in a future version of Gradle.

The source sets that are used to build this component.