GroovySourceSet

Deprecated

A GroovySourceSet defines the properties and methods added to a SourceSet by the .

Deprecated

Using convention to contribute to source sets is deprecated. You can configure the groovy sources via the GroovySourceDirectorySet extension (e.g. sourceSet.getExtensions().getByType(GroovySourceDirectorySet.class).setSrcDirs(...)). This interface is scheduled for removal in Gradle 9.0.

Functions

Link copied to clipboard
All Groovy source for this source set.
Link copied to clipboard
Returns the source to be compiled by the Groovy compiler for this source set.
Link copied to clipboard
abstract fun groovy(@Nullable @DelegatesTo(value = SourceDirectorySet::class) configureClosure: Closure): GroovySourceSet
abstract fun groovy(configureAction: Action<in SourceDirectorySet>): GroovySourceSet
Configures the Groovy source for this set.