SourceComponentSpec (Gradle API 9.0.0)
Description: declaration: package: org.gradle.platform.base, interface: SourceComponentSpec

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

  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 Details

  - ### getSources

    ModelMap<LanguageSourceSet> getSources()
    The source sets for this component.