Package org.gradle.testkit.functional.internal.classpath

Examples of org.gradle.testkit.functional.internal.classpath.ClasspathInjectingGradleHandleFactory


    public static GradleRunner create() {
        GradleHandleFactory toolingApiHandleFactory = new ToolingApiGradleHandleFactory();

        // TODO: Which class would be attached to the right classloader? Is using something from the test kit right?
        ClassLoader sourceClassLoader = GradleRunnerFactory.class.getClassLoader();
        GradleHandleFactory classpathInjectingHandleFactory = new ClasspathInjectingGradleHandleFactory(sourceClassLoader, toolingApiHandleFactory);

        return new DefaultGradleRunner(classpathInjectingHandleFactory);
    }
View Full Code Here

TOP

Related Classes of org.gradle.testkit.functional.internal.classpath.ClasspathInjectingGradleHandleFactory

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.