getConvention

Deprecated

Returns the org.gradle.api.plugins.Convention object for this task. A Plugin can use the convention object to contribute properties and methods to this task.

Return

The convention object. Never returns null.

Deprecated

The concept of conventions is deprecated. Use extensions if possible.

See also