You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2025/09/18 19:33:43 UTC

(grails-core) branch include-migrations-in-resources created (now 13d0a63cb7)

This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a change to branch include-migrations-in-resources
in repository https://gitbox.apache.org/repos/asf/grails-core.git


      at 13d0a63cb7 Add 'migrations' to grailsAppResourceDirs

This branch includes the following new commits:

     new 13d0a63cb7 Add 'migrations' to grailsAppResourceDirs

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(grails-core) 01/01: Add 'migrations' to grailsAppResourceDirs

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch include-migrations-in-resources
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 13d0a63cb7c80b9be01da51d6e94d35953727183
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Thu Sep 18 15:33:34 2025 -0400

    Add 'migrations' to grailsAppResourceDirs
    
    The 'migrations' directory is now included in grailsAppResourceDirs, allowing it to be treated as a resource directory alongside 'views', 'i18n', and 'conf'.
---
 .../main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy b/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
index a7ce7af674..a640b93977 100644
--- a/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
+++ b/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
@@ -92,7 +92,7 @@ class GrailsGradlePlugin extends GroovyPlugin {
 
     List<Class<Plugin>> basePluginClasses = [IntegrationTestGradlePlugin] as List<Class<Plugin>>
     List<String> excludedGrailsAppSourceDirs = ['migrations', 'assets']
-    List<String> grailsAppResourceDirs = ['views', 'i18n', 'conf']
+    List<String> grailsAppResourceDirs = ['views', 'i18n', 'conf', 'migrations']
     private final ToolingModelBuilderRegistry registry
 
     @Inject