Java 类org.springframework.boot.cli.compiler.GroovyCompilerScope 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:GroovyGrabDependencyResolverTests.java   
@Before
public void setupResolver() {
    GroovyCompilerConfiguration configuration = new GroovyCompilerConfiguration() {

        @Override
        public boolean isGuessImports() {
            return true;
        }

        @Override
        public boolean isGuessDependencies() {
            return true;
        }

        @Override
        public boolean isAutoconfigure() {
            return false;
        }

        @Override
        public GroovyCompilerScope getScope() {
            return GroovyCompilerScope.DEFAULT;
        }

        @Override
        public List<RepositoryConfiguration> getRepositoryConfiguration() {
            return RepositoryConfigurationFactory
                    .createDefaultRepositoryConfiguration();
        }

        @Override
        public String[] getClasspath() {
            return new String[] { "." };
        }

    };
    this.resolver = new GroovyGrabDependencyResolver(configuration);
}
项目:spring-boot-concourse    文件:GroovyGrabDependencyResolverTests.java   
@Before
public void setupResolver() {
    GroovyCompilerConfiguration configuration = new GroovyCompilerConfiguration() {

        @Override
        public boolean isGuessImports() {
            return true;
        }

        @Override
        public boolean isGuessDependencies() {
            return true;
        }

        @Override
        public boolean isAutoconfigure() {
            return false;
        }

        @Override
        public GroovyCompilerScope getScope() {
            return GroovyCompilerScope.DEFAULT;
        }

        @Override
        public List<RepositoryConfiguration> getRepositoryConfiguration() {
            return RepositoryConfigurationFactory
                    .createDefaultRepositoryConfiguration();
        }

        @Override
        public String[] getClasspath() {
            return new String[] { "." };
        }

    };
    this.resolver = new GroovyGrabDependencyResolver(configuration);
}
项目:contestparser    文件:GroovyGrabDependencyResolverTests.java   
@Before
public void setupResolver() {
    GroovyCompilerConfiguration configuration = new GroovyCompilerConfiguration() {

        @Override
        public boolean isGuessImports() {
            return true;
        }

        @Override
        public boolean isGuessDependencies() {
            return true;
        }

        @Override
        public boolean isAutoconfigure() {
            return false;
        }

        @Override
        public GroovyCompilerScope getScope() {
            return GroovyCompilerScope.DEFAULT;
        }

        @Override
        public List<RepositoryConfiguration> getRepositoryConfiguration() {
            return RepositoryConfigurationFactory
                    .createDefaultRepositoryConfiguration();
        }

        @Override
        public String[] getClasspath() {
            return new String[] { "." };
        }

    };
    this.resolver = new GroovyGrabDependencyResolver(configuration);
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:OptionSetGroovyCompilerConfiguration.java   
@Override
public GroovyCompilerScope getScope() {
    return GroovyCompilerScope.DEFAULT;
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:RunCommand.java   
@Override
public GroovyCompilerScope getScope() {
    return GroovyCompilerScope.DEFAULT;
}
项目:spring-boot-concourse    文件:OptionSetGroovyCompilerConfiguration.java   
@Override
public GroovyCompilerScope getScope() {
    return GroovyCompilerScope.DEFAULT;
}
项目:spring-boot-concourse    文件:RunCommand.java   
@Override
public GroovyCompilerScope getScope() {
    return GroovyCompilerScope.DEFAULT;
}
项目:contestparser    文件:OptionSetGroovyCompilerConfiguration.java   
@Override
public GroovyCompilerScope getScope() {
    return GroovyCompilerScope.DEFAULT;
}
项目:contestparser    文件:RunCommand.java   
@Override
public GroovyCompilerScope getScope() {
    return GroovyCompilerScope.DEFAULT;
}