Package org.gradle.api.internal.artifacts.ivyservice.projectmodule

Examples of org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectPublicationRegistry


import org.gradle.tooling.provider.model.ToolingModelBuilderRegistry;

public class ToolingRegistrationAction implements ProjectConfigureAction {
    public void execute(ProjectInternal project) {
        ToolingModelBuilderRegistry modelBuilderRegistry = project.getServices().get(ToolingModelBuilderRegistry.class);
        ProjectPublicationRegistry projectPublicationRegistry = project.getServices().get(ProjectPublicationRegistry.class);
        ProjectTaskLister taskLister = project.getServices().get(ProjectTaskLister.class);

        GradleProjectBuilder gradleProjectBuilder  = new GradleProjectBuilder();
        IdeaModelBuilder ideaModelBuilder = new IdeaModelBuilder(gradleProjectBuilder);
        modelBuilderRegistry.register(new EclipseModelBuilder(gradleProjectBuilder));
View Full Code Here

TOP

Related Classes of org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectPublicationRegistry

Copyright © 2018 www.massapicom. 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.