Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

## org.gradle.api.tasks
Interface GroovySourceSet

    interface GroovySourceSet

A `GroovySourceSetConvention` defines the properties and methods added to a SourceSet by the org.gradle.api.plugins.GroovyPlugin.

Method Summary
`FileTree` | `getAllGroovy()` All Groovy source for this source set.
`SourceDirectorySet` | `getGroovy()` Returns the source to be compiled by the Groovy compiler for this source set.
`GroovySourceSet` | `groovy(Closure configureClosure)` Configures the Groovy source for this set.

Method Detail

### getAllGroovy

    public FileTree getAllGroovy()

  All Groovy source for this source set.
  return:
    the Groovy source. Never returns null.

### getGroovy

    public SourceDirectorySet getGroovy()

  Returns the source to be compiled by the Groovy compiler for this source set. Any Java source present in this set will be passed to the Groovy compiler for joint compilation.
  return:
    The Groovy/Java source. Never returns null.

### groovy

    public GroovySourceSet groovy(Closure configureClosure)

  Configures the Groovy source for this set. The given closure is used to configure the `SourceDirectorySet` which contains the Groovy source.
  param:
    configureClosure The closure to use to configure the Groovy source.
  return:
    this

Groovy Documentation