Automatically add schedule annotation imports

This commit is contained in:
Phillip Webb 2014-03-20 16:30:34 -07:00
parent 3193913899
commit 5ab88b2344
1 changed files with 2 additions and 1 deletions

View File

@ -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