Skip to content

build: add dependency on the GSP Plugin #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 4.0.x
Choose a base branch
from

Conversation

matrei
Copy link
Contributor

@matrei matrei commented Apr 30, 2025

We need the GroovyPagesTemplateEngine and GroovyPagesUriService beans registered as they are injected in MailConfiguration.

We need the `GroovyPagesTemplateEngine` and `GroovyPagesUriService`
beans registered as they are injected in `MailConfiguration`.
@matrei
Copy link
Contributor Author

matrei commented Apr 30, 2025

Fixes #73

@@ -39,6 +39,11 @@ dependencies {
implementation libs.spring.beans
implementation libs.springboot.autoconfigure

runtimeOnly libs.grails.plugin.gsp, {
// The GSP Plugin registers the GroovyPagesTemplateEngine and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the closure instead of just a comment above?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will keep the comment connected to the dependency over time. I have seen many times where dependency comments drift when stuff is added/removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants