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

## org.gradle.api
Class DefaultTask

    java.lang.Object
      org.gradle.api.internal.AbstractTask
          org.gradle.api.DefaultTask

    @NoConventionMapping
    class DefaultTask
    extends AbstractTask

author:
  Hans Dockter

Constructor Summary
`DefaultTask()`
`DefaultTask(Project project, java.lang.String name)`

Method Summary
`Task` | `configure(groovy.lang.Closure closure)`
`Task` | `doFirst(groovy.lang.Closure action)`
`Task` | `doLast(groovy.lang.Closure action)`
`Task` | `leftShift(groovy.lang.Closure action)`

Constructor Detail

### DefaultTask

    public DefaultTask()

### DefaultTask

    @Deprecated
    public DefaultTask(Project project, java.lang.String name)

Method Detail

### configure

    Task configure(groovy.lang.Closure closure)

### doFirst

    Task doFirst(groovy.lang.Closure action)

### doLast

    Task doLast(groovy.lang.Closure action)

### leftShift

    public Task leftShift(groovy.lang.Closure action)

Groovy Documentation