the
Returns the extension of the specified type.
Parameters
T
the extension type.
Returns the extension of the specified extensionType.
Parameters
T
the extension type.
extension Type
the reified extension type.
Returns the project extension of the specified type.
If no extension is found, returns a project convention if available. Note, that the concept of conventions is deprecated and scheduled for removal in Gradle 9.
Parameters
T
the project extension type.