SourceComponentSpec (Gradle API 5.2.1)
Date: 2019-02-08

Package org.gradle.platform.base

## Interface SourceComponentSpec

- All Superinterfaces:
    `ComponentSpec`, `ModelElement`, `Named`
  All Known Subinterfaces:
    `ApplicationSpec`, `CUnitTestSuiteSpec`, `GeneralComponentSpec`, `GoogleTestTestSuiteSpec`, `JUnitTestSuiteSpec`, `JvmLibrarySpec`, `JvmTestSuiteSpec`, `LibrarySpec`, `NativeExecutableSpec`, `NativeLibrarySpec`, `NativeTestSuiteSpec`, `PlayApplicationSpec`, `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.