gradle
8.4

# scala

abstract fun scala(@DelegatesTo(value = SourceDirectorySet::class) configureClosure: Closure): ScalaSourceSet(source)

Configures the Scala source for this set.

The given closure is used to configure the SourceDirectorySet which contains the Scala source.

#### Return

this

#### Parameters

configureClosure

The closure to use to configure the Scala source.

abstract fun scala(configureAction: Action<out Any>): ScalaSourceSet(source)

Configures the Scala source for this set.

The given action is used to configure the SourceDirectorySet which contains the Scala source.

#### Return

this

#### Parameters

configureAction

The action to use to configure the Scala source.