Package org.gradle.internal.classpath

Examples of org.gradle.internal.classpath.ClassPath


    }

    private void defineScriptHandlerClassScope(ScriptHandler scriptHandler, ClassLoaderScope classLoaderScope) {
        Configuration classpathConfiguration = scriptHandler.getConfigurations().getByName(ScriptHandler.CLASSPATH_CONFIGURATION);
        Set<File> files = classpathConfiguration.getFiles();
        ClassPath classPath = new DefaultClassPath(files);
        classLoaderScope.export(classPath);
        classLoaderScope.lock();
    }
View Full Code Here


    public PluginId getPluginId() {
        return pluginId;
    }

    public Class<?> resolve() {
        ClassPath classPath = classPathFactory.create();
        ClassLoaderScope loaderScope = parent.createChild();
        loaderScope.local(classPath);
        loaderScope.lock();
        PluginRegistry pluginRegistry = new DefaultPluginRegistry(pluginInspector, loaderScope.getLocalClassLoader());
        PotentialPluginWithId lookup = pluginRegistry.lookup(pluginId.toString());
View Full Code Here

TOP

Related Classes of org.gradle.internal.classpath.ClassPath

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.