Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions grails-bootstrap/src/main/resources/grails-banner.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

> <
> ____ _ _ <
> / ___|_ __ __ _(_) |___ <
> | | _| '__/ _` | | / __| <
> | |_| | | | (_| | | \__ \ <
> \____|_| \__,_|_|_|___/ <
> https://grails.apache.org <
> <
> <
5 changes: 1 addition & 4 deletions grails-core/src/main/groovy/grails/boot/GrailsApp.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ import org.codehaus.groovy.control.CompilationFailedException
import org.codehaus.groovy.control.CompilationUnit
import org.codehaus.groovy.control.CompilerConfiguration

import org.springframework.boot.ResourceBanner
import org.springframework.boot.SpringApplication
import org.springframework.boot.web.context.WebServerApplicationContext
import org.springframework.context.ConfigurableApplicationContext
import org.springframework.core.env.ConfigurableEnvironment
import org.springframework.core.io.ClassPathResource
import org.springframework.core.io.ResourceLoader

import grails.compiler.ast.ClassInjector
Expand Down Expand Up @@ -61,7 +59,6 @@ import org.grails.plugins.support.WatchPattern
@CompileStatic
class GrailsApp extends SpringApplication {

private static final String GRAILS_BANNER = 'grails-banner.txt'
private static final String SPRING_PROFILES = 'spring.profiles.active'

private static boolean developmentModeActive = false
Expand Down Expand Up @@ -95,7 +92,7 @@ class GrailsApp extends SpringApplication {
*/
GrailsApp(ResourceLoader resourceLoader, Class<?>... sources) {
super(resourceLoader, sources)
banner = new ResourceBanner(new ClassPathResource(GRAILS_BANNER))
banner = new GrailsBanner()
}

@Override
Expand Down
Loading
Loading