Examples of DependencyResolutionContext


Examples of org.springframework.boot.cli.compiler.grape.DependencyResolutionContext

  public GroovyCompiler(final GroovyCompilerConfiguration configuration) {

    this.configuration = configuration;
    this.loader = createLoader(configuration);

    DependencyResolutionContext resolutionContext = new DependencyResolutionContext();

    AetherGrapeEngine grapeEngine = AetherGrapeEngineFactory.create(this.loader,
        configuration.getRepositoryConfiguration(), resolutionContext);

    GrapeEngineInstaller.install(grapeEngine);
View Full Code Here

Examples of org.springframework.boot.cli.compiler.grape.DependencyResolutionContext

    given(this.resolver.getVersion("spring-boot-starter-logging"))
        .willReturn("1.2.3");
    this.moduleNode.addClass(this.classNode);
    this.dependencyCustomizer = new DependencyCustomizer(new GroovyClassLoader(
        getClass().getClassLoader()), this.moduleNode,
        new DependencyResolutionContext(this.resolver));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.