# groovy

abstract fun groovy(@Nullable @DelegatesTo(value = SourceDirectorySet::class) configureClosure: Closure): GroovySourceSet(source)

Configures the Groovy source for this set.

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

#### Return

this

#### Parameters

configureClosure

The closure to use to configure the Groovy source.

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

Configures the Groovy source for this set.

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

#### Return

this

#### Parameters

configureAction

The action to use to configure the Groovy source.