Skip to content

Commit 76b58e5

Browse files
committed
Merge branch '7.1.x' into 7.1.x-namespace-view-defaults
2 parents a35c774 + fd1c744 commit 76b58e5

File tree

7 files changed

+577
-16
lines changed

7 files changed

+577
-16
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
21
> <
32
> ____ _ _ <
43
> / ___|_ __ __ _(_) |___ <
54
> | | _| '__/ _` | | / __| <
65
> | |_| | | | (_| | | \__ \ <
76
> \____|_| \__,_|_|_|___/ <
87
> https://grails.apache.org <
9-
> <
8+
> <

grails-core/src/main/groovy/grails/boot/GrailsApp.groovy

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ import org.codehaus.groovy.control.CompilationFailedException
2727
import org.codehaus.groovy.control.CompilationUnit
2828
import org.codehaus.groovy.control.CompilerConfiguration
2929

30-
import org.springframework.boot.ResourceBanner
3130
import org.springframework.boot.SpringApplication
3231
import org.springframework.boot.web.context.WebServerApplicationContext
3332
import org.springframework.context.ConfigurableApplicationContext
3433
import org.springframework.core.env.ConfigurableEnvironment
35-
import org.springframework.core.io.ClassPathResource
3634
import org.springframework.core.io.ResourceLoader
3735

3836
import grails.compiler.ast.ClassInjector
@@ -61,7 +59,6 @@ import org.grails.plugins.support.WatchPattern
6159
@CompileStatic
6260
class 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

Comments
 (0)