# Interface LanguageSourceSet

All Superinterfaces:
  `Buildable, BuildableComponentSpec, ComponentSpec, ModelElement, Named`

All Known Subinterfaces:
  `AssemblerSourceSet, CppSourceSet, CSourceSet, DependentSourceSet, DependentSourceSet, HeaderExportingSourceSet, NativeResourceSet, ObjectiveCppSourceSet, ObjectiveCSourceSet, WindowsResourceSet`

All Known Implementing Classes:
  `org.gradle.language.base.internal.AbstractLanguageSourceSet, BaseLanguageSourceSet`

@Incubating @Deprecated public interface LanguageSourceSet extends BuildableComponentSpec
Deprecated.
The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. `cpp-application`, `cpp-library`, `swift-application`, `swift-library`, `xctest`) instead.
A set of sources for a programming language.

Since:
  1.6

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from interface Named

  `Named.Namer`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `generatedBy(Task generatorTask)`
  Deprecated.
  Generated.
  `@Nullable String`
  `getParentName()`
  Deprecated.
  Returns the parent name.
  `SourceDirectorySet`
  `getSource()`
  Deprecated.
  The source files.

  ### Methods inherited from interface Buildable

  `getBuildDependencies`

  ### Methods inherited from interface BuildableComponentSpec

  `builtBy, getBuildTask, hasBuildDependencies, setBuildTask`

  ### Methods inherited from interface ComponentSpec

  `getProjectPath`

  ### Methods inherited from interface ModelElement

  `getDisplayName, getName`

- ## Method Details

  - ### getSource

    SourceDirectorySet getSource()
    Deprecated.
    The source files.
    Since:
      1.6

  - ### generatedBy

    void generatedBy(Task generatorTask)
    Deprecated.
    Generated.
    Since:
      1.11

  - ### getParentName

    @Nullable String getParentName()
    Deprecated.
    Returns the parent name.
    Since:
      2.9