gradle
8.3

# groovy

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

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<out Any>): GroovySourceSet

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.