api / org.gradle.api.tasks / GroovySourceSet / groovy

groovy

abstract fun groovy(configureClosure: Closure<Any>): GroovySourceSet

Configures the Groovy source for this set.

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

Parameters

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

Return
this

abstract fun groovy(configureAction: Action<in SourceDirectorySet>): GroovySourceSet

Configures the Groovy source for this set.

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

Parameters

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

Return
this