You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by GitBox <gi...@apache.org> on 2026/06/29 22:54:48 UTC

[GH] (grails-core/feature/compile-static-artefacts): Workflow run "Code Style" is working again!

The GitHub Actions job "Code Style" on grails-core.git/feature/compile-static-artefacts has succeeded.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
28f0e1cab75f649673f03206dd60aaccbd2f47bf / Scott Murphy Heiberg <sc...@alwaysvip.com>
Skip legacy closure-field tag libraries under the tagLibs opt-in

When grails { compileStatic { tagLibs = true } } is enabled, CompileStaticArtefactInjector now detects tag libraries that still declare tags as closure fields (the deprecated form) and leaves them dynamically compiled, emitting a build warning, instead of failing the build. Detection matches how Grails identifies tags at runtime (public, non-static closure-valued properties/fields).

An explicit @GrailsCompileStatic on the class still forces static compilation (and still fails cleanly on closure-field tag dispatch via the type-checking extension) - the auto-skip only applies to the blanket build opt-in. Adds injector specs for the skip, plus guards proving static closures and static non-closure fields don't trip detection; docs updated.

Report URL: https://github.com/apache/grails-core/actions/runs/28407550439

With regards,
GitHub Actions via GitBox