SourceComponentSpec (Gradle API 8.11)

Package org.gradle.platform.base

## Interface SourceComponentSpec

- All Superinterfaces:
    `ComponentSpec`, `ModelElement`, `Named`
  All Known Subinterfaces:
    `ApplicationSpec`, `CUnitTestSuiteSpec`, `GeneralComponentSpec`, `GoogleTestTestSuiteSpec`, `LibrarySpec`, `NativeExecutableSpec`, `NativeLibrarySpec`, `NativeTestSuiteSpec`, `TestSuiteSpec`
  All Known Implementing Classes:
    `BaseComponentSpec`

      @Incubating
      public interface SourceComponentSpec
      extends ComponentSpec

  Represents some component whose implementation can be represented as a collection of source files, and whose other outputs are built from this source.

- - ### Nested Class Summary

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

      `Named.Namer`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ModelMap<LanguageSourceSet>` | `getSources()` | The source sets for this component.

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

      `getProjectPath`

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

      `getDisplayName, getName`

- - ### Method Detail

    - #### getSources

          ModelMap<LanguageSourceSet> getSources()

      The source sets for this component.