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

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringSecurityCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity")
            .add("spring-boot-starter-security");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringBatchCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies.ifAnyMissingClasses("org.springframework.batch.core.Job")
            .add("spring-boot-starter-batch");
    dependencies.ifAnyMissingClasses("org.springframework.jdbc.core.JdbcTemplate")
            .add("spring-jdbc");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringIntegrationCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.integration.config.EnableIntegration")
            .add("spring-boot-starter-integration");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringMvcCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies.ifAnyMissingClasses("org.springframework.web.servlet.mvc.Controller")
            .add("spring-boot-starter-web");
    dependencies.ifAnyMissingClasses("groovy.text.TemplateEngine")
            .add("groovy-templates");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringSocialFacebookCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies
            .ifAnyMissingClasses("org.springframework.social.facebook.api.Facebook")
            .add("spring-boot-starter-social-facebook");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:TransactionManagementCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.transaction.annotation.Transactional")
            .add("spring-tx", "spring-boot-starter-aop");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringSocialLinkedInCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies
            .ifAnyMissingClasses("org.springframework.social.linkedin.api.LinkedIn")
            .add("spring-boot-starter-social-linkedin");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringWebsocketCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.web.socket.config.annotation.EnableWebSocket")
            .add("spring-boot-starter-websocket").add("spring-messaging");
}
项目:spring-boot-concourse    文件:SpringSecurityCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity")
            .add("spring-boot-starter-security");
}
项目:spring-boot-concourse    文件:SpringBatchCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies.ifAnyMissingClasses("org.springframework.batch.core.Job")
            .add("spring-boot-starter-batch");
    dependencies.ifAnyMissingClasses("org.springframework.jdbc.core.JdbcTemplate")
            .add("spring-jdbc");
}
项目:spring-boot-concourse    文件:SpringIntegrationCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.integration.config.EnableIntegration")
            .add("spring-boot-starter-integration");
}
项目:spring-boot-concourse    文件:SpringMvcCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies.ifAnyMissingClasses("org.springframework.web.servlet.mvc.Controller")
            .add("spring-boot-starter-web");
    dependencies.ifAnyMissingClasses("groovy.text.TemplateEngine")
            .add("groovy-templates");
}
项目:spring-boot-concourse    文件:SpringSocialFacebookCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies
            .ifAnyMissingClasses("org.springframework.social.facebook.api.Facebook")
            .add("spring-boot-starter-social-facebook");
}
项目:spring-boot-concourse    文件:TransactionManagementCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.transaction.annotation.Transactional")
            .add("spring-tx", "spring-boot-starter-aop");
}
项目:spring-boot-concourse    文件:SpringSocialLinkedInCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies
            .ifAnyMissingClasses("org.springframework.social.linkedin.api.LinkedIn")
            .add("spring-boot-starter-social-linkedin");
}
项目:spring-boot-concourse    文件:SpringWebsocketCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.web.socket.config.annotation.EnableWebSocket")
            .add("spring-boot-starter-websocket").add("spring-messaging");
}
项目:contestparser    文件:SpringSecurityCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity")
            .add("spring-boot-starter-security");
}
项目:contestparser    文件:SpringBatchCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies.ifAnyMissingClasses("org.springframework.batch.core.Job")
            .add("spring-boot-starter-batch");
    dependencies.ifAnyMissingClasses("org.springframework.jdbc.core.JdbcTemplate")
            .add("spring-jdbc");
}
项目:contestparser    文件:SpringIntegrationCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.integration.config.EnableIntegration")
            .add("spring-boot-starter-integration");
}
项目:contestparser    文件:SpringMvcCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies.ifAnyMissingClasses("org.springframework.web.servlet.mvc.Controller")
            .add("spring-boot-starter-web");
    dependencies.ifAnyMissingClasses("groovy.text.TemplateEngine")
            .add("groovy-templates");
}
项目:contestparser    文件:SpringSocialFacebookCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies
            .ifAnyMissingClasses("org.springframework.social.facebook.api.Facebook")
            .add("spring-boot-starter-social-facebook");
}
项目:contestparser    文件:TransactionManagementCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.transaction.annotation.Transactional")
            .add("spring-tx", "spring-boot-starter-aop");
}
项目:contestparser    文件:SpringSocialLinkedInCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies
            .ifAnyMissingClasses("org.springframework.social.linkedin.api.LinkedIn")
            .add("spring-boot-starter-social-linkedin");
}
项目:contestparser    文件:SpringWebsocketCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.web.socket.config.annotation.EnableWebSocket")
            .add("spring-boot-starter-websocket").add("spring-messaging");
}
项目:spring-cloud-cli    文件:StreamRabbitCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.cloud.stream.binder.rabbit.config.RabbitServiceAutoConfiguration")
            .add("spring-cloud-starter-stream-rabbit");
}
项目:spring-cloud-cli    文件:SpringCloudCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.boot.actuate.endpoint.EnvironmentEndpoint")
            .add("spring-boot-starter-actuator");
    dependencies.ifAnyMissingClasses(
            "org.springframework.cloud.config.Environment").add(
            "spring-cloud-starter-config");
}
项目:spring-cloud-cli    文件:StreamKafkaCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.cloud.stream.binder.kafka.config.KafkaServiceAutoConfiguration")
            .add("spring-cloud-starter-stream-kafka");
}
项目:spring-cloud-cli    文件:OAuth2LoadBalancedCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses(
                    "org.springframework.cloud.security.oauth2.client.OAuth2LoadBalancerClientAutoConfiguration")
            .add("spring-cloud-starter-oauth2");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:JUnitCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies.add("spring-boot-starter-test");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringBootCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies.ifAnyMissingClasses("org.springframework.boot.SpringApplication")
            .add("spring-boot-starter");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:RabbitCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies.add("spring-rabbit");

}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringSocialTwitterCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies.ifAnyMissingClasses("org.springframework.social.twitter.api.Twitter")
            .add("spring-boot-starter-social-twitter");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:GroovyTemplatesCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies.ifAnyMissingClasses("groovy.text.TemplateEngine")
            .add("groovy-templates");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpockCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies.add("spock-core").add("junit").add("spring-test")
            .add("hamcrest-library");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:JmsCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies.add("spring-jms", "jms-api");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringRetryCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies
            .ifAnyMissingClasses("org.springframework.retry.annotation.EnableRetry")
            .add("spring-retry", "spring-boot-starter-aop");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringSecurityOAuth2CompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies.add("spring-security-oauth2", "spring-boot-starter-web",
            "spring-boot-starter-security");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:JdbcCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies.ifAnyMissingClasses("org.springframework.jdbc.core.JdbcTemplate")
            .add("spring-boot-starter-jdbc");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ReactorCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies) {
    dependencies.ifAnyMissingClasses("reactor.bus.EventBus")
            .add("reactor-spring-context", false).add("reactor-spring-core", false)
            .add("reactor-bus").add("reactor-stream");
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:CachingCompilerAutoConfiguration.java   
@Override
public void applyDependencies(DependencyCustomizer dependencies)
        throws CompilationFailedException {
    dependencies.add("spring-context-support");
}