Consumer compatibility: Versions 1.6-rc-1 and later use this type.
Provider compatibility: Versions prior to 1.8-rc-1 did not attach any cause to this exception.
5051525354555657585960
ToolingModelBuilderRegistry builderRegistry = getToolingModelBuilderRegistry(gradle); ToolingModelBuilder builder; try { builder = builderRegistry.getBuilder(modelName); } catch (UnknownModelException e) { throw (InternalUnsupportedModelException)new InternalUnsupportedModelException().initCause(e); } Object result; if (builder instanceof ProjectSensitiveToolingModelBuilder) { result = ((ProjectSensitiveToolingModelBuilder) builder).buildAll(modelName, gradle.getDefaultProject(), true);