Creates a builder which can be used to query the model of the given type.
Any of following models types may be available, depending on the version of Gradle being used by the target build:
- {@link org.gradle.tooling.model.gradle.GradleBuild}
- {@link org.gradle.tooling.model.build.BuildEnvironment}
- {@link org.gradle.tooling.model.GradleProject}
- {@link org.gradle.tooling.model.gradle.BuildInvocations}
- {@link org.gradle.tooling.model.gradle.ProjectPublications}
- {@link org.gradle.tooling.model.idea.IdeaProject}
- {@link org.gradle.tooling.model.idea.BasicIdeaProject}
- {@link org.gradle.tooling.model.eclipse.EclipseProject}
- {@link org.gradle.tooling.model.eclipse.HierarchicalEclipseProject}
A build may also expose additional custom tooling models. You can use this method to query these models.
@param modelType The model type
@param < T> The model type.
@return The builder.
@since 1.0-milestone-3