api / org.gradle.api.tasks / ScalaSourceSet / getScala

getScala

abstract fun getScala(): SourceDirectorySet

Returns the source to be compiled by the Scala compiler for this source set. This may contain both Java and Scala source files.

Return
The Scala source. Never returns null.