Package org.gradle.api.internal.initialization

Examples of org.gradle.api.internal.initialization.DefaultScriptHandlerFactory


        return new DefaultDependencyHandler(get(ConfigurationContainer.class), get(DependencyFactory.class),
                get(ProjectFinder.class));
    }

    protected ScriptHandlerInternal createScriptHandler() {
        DefaultScriptHandlerFactory factory = new DefaultScriptHandlerFactory(
                getFactory(RepositoryHandler.class),
                get(ConfigurationContainerFactory.class),
                get(DependencyMetaDataProvider.class),
                get(DependencyFactory.class));
        ClassLoader parentClassLoader;
        if (project.getParent() != null) {
            parentClassLoader = project.getParent().getBuildscript().getClassLoader();
        } else {
            parentClassLoader = project.getGradle().getScriptClassLoader();
        }
        return factory.create(project.getBuildScriptSource(), parentClassLoader, project);
    }
View Full Code Here


    protected ExceptionAnalyser createExceptionAnalyser() {
        return new DefaultExceptionAnalyser(get(ListenerManager.class));
    }

    protected ScriptHandlerFactory createScriptHandlerFactory() {
        return new DefaultScriptHandlerFactory(
                getFactory(RepositoryHandler.class),
                get(ConfigurationContainerFactory.class),
                new DependencyMetaDataProviderImpl(),
                get(DependencyFactory.class));
    }
View Full Code Here

    protected ModelRegistry createModelRegistry() {
        return new DefaultModelRegistry();
    }

    protected ScriptHandler createScriptHandler() {
        ScriptHandlerFactory factory = new DefaultScriptHandlerFactory(
                get(DependencyManagementServices.class),
                get(FileResolver.class),
                get(DependencyMetaDataProvider.class));
        return factory.create(project.getBuildScriptSource(), project.getClassLoaderScope(), project);
    }
View Full Code Here

        }
        return exceptionAnalyser;
    }

    protected ScriptHandlerFactory createScriptHandlerFactory() {
        return new DefaultScriptHandlerFactory(
                get(DependencyManagementServices.class),
                get(FileResolver.class),
                get(DependencyMetaDataProvider.class)
        );
    }
View Full Code Here

TOP

Related Classes of org.gradle.api.internal.initialization.DefaultScriptHandlerFactory

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.