Community Plugins and Integrations (Grails)
Published 16 November 2022
Community Plugins and Integrations: Grails
Grails 3.x is based on Spring Boot comes with out-of-the-box integration for Flyway.
All you need to do is add flyway-core
to your build.gradle
:
implementation "org.flywaydb:flyway-core:10.17.1"
Spring Boot will then automatically autowire Flyway with its DataSource and invoke it on startup.
You can then configure a good number of Flyway properties directly from your application.properties
or application.yml file
.