@@ -27,12 +27,10 @@ import org.codehaus.groovy.control.CompilationFailedException
2727import org.codehaus.groovy.control.CompilationUnit
2828import org.codehaus.groovy.control.CompilerConfiguration
2929
30- import org.springframework.boot.ResourceBanner
3130import org.springframework.boot.SpringApplication
3231import org.springframework.boot.web.context.WebServerApplicationContext
3332import org.springframework.context.ConfigurableApplicationContext
3433import org.springframework.core.env.ConfigurableEnvironment
35- import org.springframework.core.io.ClassPathResource
3634import org.springframework.core.io.ResourceLoader
3735
3836import grails.compiler.ast.ClassInjector
@@ -61,7 +59,6 @@ import org.grails.plugins.support.WatchPattern
6159@CompileStatic
6260class GrailsApp extends SpringApplication {
6361
64- private static final String GRAILS_BANNER = ' grails-banner.txt'
6562 private static final String SPRING_PROFILES = ' spring.profiles.active'
6663
6764 private static boolean developmentModeActive = false
@@ -95,7 +92,7 @@ class GrailsApp extends SpringApplication {
9592 */
9693 GrailsApp (ResourceLoader resourceLoader , Class<?> ... sources ) {
9794 super (resourceLoader, sources)
98- banner = new ResourceBanner ( new ClassPathResource ( GRAILS_BANNER ) )
95+ banner = new GrailsBanner ( )
9996 }
10097
10198 @Override
0 commit comments