@Deprecated public interface GroovySourceSet
GroovySourceDirectorySet extension (e.g.
sourceSet.getExtensions().getByType(GroovySourceDirectorySet.class).setSrcDirs(...)). This interface is scheduled for removal in Gradle 8.0.| Modifier and Type | Method | Description |
|---|---|---|
SourceDirectorySet |
getAllGroovy() |
Deprecated.
All Groovy source for this source set.
|
SourceDirectorySet |
getGroovy() |
Deprecated.
Returns the source to be compiled by the Groovy compiler for this source set.
|
GroovySourceSet |
groovy(Closure configureClosure) |
Deprecated.
Configures the Groovy source for this set.
|
GroovySourceSet |
groovy(Action<? super SourceDirectorySet> configureAction) |
Deprecated.
Configures the Groovy source for this set.
|
SourceDirectorySet getGroovy()
GroovySourceSet groovy(@Nullable Closure configureClosure)
The given closure is used to configure the SourceDirectorySet which contains the Groovy source.
configureClosure - The closure to use to configure the Groovy source.GroovySourceSet groovy(Action<? super SourceDirectorySet> configureAction)
The given action is used to configure the SourceDirectorySet which contains the Groovy source.
configureAction - The action to use to configure the Groovy source.SourceDirectorySet getAllGroovy()