api / org.gradle.api.tasks / ScalaSourceSet / scala

scala

abstract fun scala(configureClosure: Closure<Any>): ScalaSourceSet

Configures the Scala source for this set.

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

Parameters

configureClosure - The closure to use to configure the Scala source.

Return
this

abstract fun scala(configureAction: Action<in SourceDirectorySet>): ScalaSourceSet

Configures the Scala source for this set.

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

Parameters

configureAction - The action to use to configure the Scala source.

Return
this