Add some useful imports to Mvc scripts

pull/9/head
Dave Syer 11 years ago
parent a817e7b969
commit 1c6cbad345

@ -60,7 +60,8 @@ public class SpringMvcCompilerAutoConfiguration extends CompilerAutoConfiguratio
public void applyImports(ImportCustomizer imports) {
imports.addStarImports("org.springframework.web.bind.annotation",
"org.springframework.web.servlet.config.annotation",
"org.springframework.http");
"org.springframework.web.servlet",
"org.springframework.web.servlet.handler", "org.springframework.http");
imports.addStaticImport("org.springframework.cli.template.GroovyTemplate",
"template");
}

Loading…
Cancel
Save