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.

buildAll

@Nullable
abstract fun buildAll(modelName: String, parameter: T, project: Project): @Nullable Any(source)

Creates the model of the given type for the given project using the given parameter.

Return

The model, or null if not available.

Since

4.4

Parameters

modelName

The model name, usually the same as the name of the Java interface used by the client.

parameter

The parameter received from the client.

project

The project to create the model for.