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 58fc3abf725676e350b1d537760e422688420b54 Author: James Fredley <[email protected]> AuthorDate: Fri Sep 19 20:25:43 2025 -0400 Remove outdated Gradle sourceSets configuration instructions Deleted instructions about configuring the migrations folder in Gradle, as this step is no longer necessary or relevant for Grails 4 and above. --- .../docs/asciidoc/databaseMigration/gettingStarted.adoc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/grails-data-hibernate5/docs/src/docs/asciidoc/databaseMigration/gettingStarted.adoc b/grails-data-hibernate5/docs/src/docs/asciidoc/databaseMigration/gettingStarted.adoc index bb33aafbcd..3292fa7750 100644 --- a/grails-data-hibernate5/docs/src/docs/asciidoc/databaseMigration/gettingStarted.adoc +++ b/grails-data-hibernate5/docs/src/docs/asciidoc/databaseMigration/gettingStarted.adoc @@ -47,20 +47,6 @@ dependencies { } ---- -You should also tell Gradle about the migrations folder. If using Grails 4 or above, make sure the configuration below is BEFORE the -`dependencies` configuration, so that the `sourceSets` declaration takes effect. - -[source,groovy,subs="attributes"] ----- -sourceSets { - main { - resources { - srcDir 'grails-app/migrations' - } - } -} ----- - *Typical initial workflow* Next you'll need to create an initial changelog. You can use Liquibase XML or the plugin's Groovy DSL for individual files. You can even mix and match; Groovy files can include other Groovy files and Liquibase XML files (but XML files can't include Groovy files).
