# BaseLanguageSourceSet

@Incubating
open class BaseLanguageSourceSet : AbstractLanguageSourceSet(source)

### 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.

Base class that may be used for custom LanguageSourceSet implementations. However, it is generally better to use an interface annotated with org.gradle.model.Managed and not use an implementation class at all.

#### Since

2.4

## Constructors

BaseLanguageSourceSet
Link copied to clipboard
constructor()
Creates a new `BaseLanguageSourceSet`.

## Properties

buildTask
Link copied to clipboard
open var buildTask: Task
checkTask
Link copied to clipboard
open var checkTask: Task
generatorTask
Link copied to clipboard
open val generatorTask: Task
identifier
Link copied to clipboard
val identifier: ComponentSpecIdentifier
source
Link copied to clipboard
val source: SourceDirectorySet

## Functions

builtBy
Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>)
open fun builtBy(tasks: Array<Any>)
Adds tasks required to build this component.
checkedBy
Link copied to clipboard
abstract fun checkedBy(tasks: Array<Any>)
open fun checkedBy(tasks: Array<Any>)
Adds tasks required to check this component.
create
Link copied to clipboard
open fun <T : LanguageSourceSet?> create(publicType: Class<out LanguageSourceSet>, implementationType: Class<T>, componentId: ComponentSpecIdentifier, objectFactory: ObjectFactory): T
Create a source set instance.
generatedBy
Link copied to clipboard
abstract fun generatedBy(generatorTask: Task)
open fun generatedBy(generatorTask: Task)
Generated.
getBuildDependencies
Link copied to clipboard
abstract fun getBuildDependencies(): TaskDependency
open fun getBuildDependencies(): TaskDependency
Returns a dependency which contains the tasks which build this artifact.
getDisplayName
Link copied to clipboard
open fun getDisplayName(): String
abstract fun getDisplayName(): String
Returns a human-consumable display name for this element.
getMayHaveSources
Link copied to clipboard
open fun getMayHaveSources(): Boolean
getName
Link copied to clipboard
abstract fun getName(): String
open fun getName(): String
Returns the name of this element.
getParentName
Link copied to clipboard
@Nullable
abstract fun getParentName(): @Nullable String
open fun getParentName(): String
Returns the parent name.
getProjectPath
Link copied to clipboard
abstract fun getProjectPath(): String
open fun getProjectPath(): String
The path to the project containing this component.
getProjectScopedName
Link copied to clipboard
open fun getProjectScopedName(): String
hasBuildDependencies
Link copied to clipboard
abstract fun hasBuildDependencies(): Boolean
open fun hasBuildDependencies(): Boolean
Returns whether build dependencies.
toString
Link copied to clipboard
open fun toString(): String