For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

typeOf

inline fun <T> typeOf(): TypeOf<T>(source)

Creates an instance of TypeOf for the given parameterized type.

Return

the TypeOf that captures the generic type of the given parameterized type

Since

5.6

Type Parameters

T

the type