gradle
8.3

# getConvention

abstract fun getConvention(): Convention

### Deprecated

Returns the Convention for this project.

You can access this property in your build file using `convention`. You can also access the properties and methods of the convention object as if they were properties and methods of this project. See here for more details

#### Return

The `Convention`. Never returns null.

#### Deprecated

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

#### See also

ExtensionAware