ScalaSourceSet

Deprecated

A ScalaSourceSet defines the properties and methods added to a by the ScalaPlugin.

Deprecated

Using conventions to contribute source sets is deprecated. You can configure the groovy sources via the ScalaSourceDirectorySet extension (e.g. sourceSet.getExtensions().getByType(ScalaSourceDirectorySet.class).setSrcDirs(...)). This interface is scheduled for removal in Gradle 9.0.

Functions

Link copied to clipboard
All Scala source for this source set.
Link copied to clipboard
Returns the source to be compiled by the Scala compiler for this source set.
Link copied to clipboard
abstract fun scala(@DelegatesTo(value = SourceDirectorySet::class) configureClosure: Closure): ScalaSourceSet
abstract fun scala(configureAction: Action<in SourceDirectorySet>): ScalaSourceSet
Configures the Scala source for this set.