api / org.gradle.api.tasks / GroovySourceSet / getGroovy

getGroovy

abstract fun getGroovy(): SourceDirectorySet

Returns the source to be compiled by the Groovy compiler for this source set. Any Java source present in this set will be passed to the Groovy compiler for joint compilation.

Return
The Groovy/Java source. Never returns null.