From ee3de5f38a55f39da02438349d17341b7982d73f Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 10 Jul 2015 13:51:57 -0700 Subject: [PATCH] Add ApplicationRunner support to CLI Add ApplicationRunner and ApplicationArguments to the CLI compiler auto-configuration. See gh-1990 --- .../autoconfigure/SpringBootCompilerAutoConfiguration.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBootCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBootCompilerAutoConfiguration.java index 18e4dfb619..47062c8de3 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBootCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBootCompilerAutoConfiguration.java @@ -65,6 +65,8 @@ public class SpringBootCompilerAutoConfiguration extends CompilerAutoConfigurati "org.springframework.context.MessageSource", "org.springframework.core.annotation.Order", "org.springframework.core.io.ResourceLoader", + "org.springframework.boot.ApplicationRunner", + "org.springframework.boot.ApplicationArguments", "org.springframework.boot.CommandLineRunner", "org.springframework.boot.context.properties.ConfigurationProperties", "org.springframework.boot.context.properties.EnableConfigurationProperties",