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

## org.gradle.api.plugins
[Java] Interface Convention

    org.gradle.api.plugins.Convention
      org.gradle.api.internal.DynamicObject

All Superinterfaces:
  DynamicObject

    public interface Convention
    extends DynamicObject

A `Convention` manages a set of convention objects. When you add a convention object to a `Convention`, and the properties and methods of the convention object become available as properties and methods of the object which the convention is associated to. A convention object is simply a POJO or POGO. Usually, a `Convention` is used by plugins to extend a Project or a Task.

Authors:
  Hans Dockter

Groovy Documentation