Package org.gradle.tooling.provider.model

Examples of org.gradle.tooling.provider.model.ToolingModelBuilder.buildAll()


        Object result;
        if (builder instanceof ProjectSensitiveToolingModelBuilder) {
            result = ((ProjectSensitiveToolingModelBuilder) builder).buildAll(modelName, gradle.getDefaultProject(), true);
        } else {
            result = builder.buildAll(modelName, gradle.getDefaultProject());
        }

        PayloadSerializer payloadSerializer = gradle.getServices().get(PayloadSerializer.class);
        return new BuildActionResult(payloadSerializer.serialize(result), null);
    }
View Full Code Here


        }
        Object model;
        if (builder instanceof ProjectSensitiveToolingModelBuilder) {
            model = ((ProjectSensitiveToolingModelBuilder) builder).buildAll(modelIdentifier.getName(), project, isImplicitProject);
        } else {
            model = builder.buildAll(modelIdentifier.getName(), project);
        }
        return new ProviderBuildResult<Object>(model);
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.