Package org.gradle.api.internal.artifacts.dsl.dependencies

Examples of org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler


    public ScriptHandlerInternal create(ScriptSource scriptSource, ClassLoader parentClassLoader,
                                        DomainObjectContext context) {
        RepositoryHandler repositoryHandler = repositoryHandlerFactory.create();
        ConfigurationContainer configurationContainer = configurationContainerFactory.createConfigurationContainer(
                repositoryHandler, dependencyMetaDataProvider, context);
        DependencyHandler dependencyHandler = new DefaultDependencyHandler(configurationContainer, dependencyFactory,
                projectFinder);
        Collection<Object> key = Arrays.asList(scriptSource.getClassName(), parentClassLoader);
        ObservableUrlClassLoader classLoader = classLoaderCache.get(key);
        if (classLoader == null) {
            classLoader = new ObservableUrlClassLoader(parentClassLoader);
View Full Code Here


            }
        };
    }

    protected DependencyHandler createDependencyHandler() {
        return new DefaultDependencyHandler(get(ConfigurationContainer.class), get(DependencyFactory.class),
                get(ProjectFinder.class));
    }
View Full Code Here

TOP

Related Classes of org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler

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.