Browse Source

Automatically add schedule annotation imports

pull/535/merge
Phillip Webb 12 years ago
parent
commit
5ab88b2344
  1. 3
      spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBootCompilerAutoConfiguration.java

3
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBootCompilerAutoConfiguration.java

@ -64,7 +64,8 @@ public class SpringBootCompilerAutoConfiguration extends CompilerAutoConfigurati @@ -64,7 +64,8 @@ public class SpringBootCompilerAutoConfiguration extends CompilerAutoConfigurati
"org.springframework.core.io.ResourceLoader",
"org.springframework.boot.CommandLineRunner",
"org.springframework.boot.autoconfigure.EnableAutoConfiguration");
imports.addStarImports("org.springframework.stereotype");
imports.addStarImports("org.springframework.stereotype",
"org.springframework.scheduling.annotation");
}
@Override

Loading…
Cancel
Save