Class GroovyTemplateAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateAutoConfiguration

@AutoConfiguration(after=WebMvcAutoConfiguration.class) @ConditionalOnClass(groovy.text.markup.MarkupTemplateEngine.class) @EnableConfigurationProperties(GroovyTemplateProperties.class) public class GroovyTemplateAutoConfiguration extends Object
Auto-configuration support for Groovy templates in MVC. By default creates a MarkupTemplateEngine configured from GroovyTemplateProperties, but you can override that by providing your own GroovyMarkupConfig or even a MarkupTemplateEngine of a different type.
Since:
1.1.0
Author:
Dave Syer, Andy Wilkinson, Brian Clozel
  • Constructor Details

    • GroovyTemplateAutoConfiguration

      public GroovyTemplateAutoConfiguration()