Skip to content

Commit 1c0bccb

Browse files
authored
build: add dependency on the GSP Plugin (#74)
We need the `GroovyPagesTemplateEngine` and `GroovyPagesUriService` beans registered as they are injected in `MailConfiguration`.
1 parent 69182ef commit 1c0bccb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ dependencies {
3939
implementation libs.spring.beans
4040
implementation libs.springboot.autoconfigure
4141

42+
runtimeOnly libs.grails.plugin.gsp, {
43+
// The GSP Plugin registers the GroovyPagesTemplateEngine and
44+
// GroovyPagesUriService Beans that are injected in MailConfiguration.
45+
}
46+
4247
testImplementation libs.grails.testing.support.core
4348
testImplementation libs.spock.core
4449

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ spock = '2.3-groovy-3.0'
1313
[libraries]
1414
grails-core = { module = 'org.grails:grails-core', version.ref = 'grails' }
1515
grails-gsp = { module = 'org.grails:grails-gsp', version.ref = 'gsp' }
16+
grails-plugin-gsp = { module = 'org.grails.plugins:gsp', version.ref = 'gsp' }
1617
grails-testing-support-core = { module = 'org.grails:grails-testing-support', version.ref = 'grails-testing-support' }
1718
grails-testing-support-web = { module = 'org.grails:grails-web-testing-support', version.ref = 'grails-testing-support' }
1819
grails-web-common = { module = 'org.grails:grails-web-common', version.ref = 'grails' }

0 commit comments

Comments
 (0)