I am using liquibase gradle plugin and I would like to specify multiple changelog files instead of just one. The changelogs to run depends on certain conditions.
liquibase {
activities {
main {
changeLogFile "liquibase-changelog.xml"
url 'jdbc:mysql://localhost:3306/world'
username 'XXX'
password 'XXX'
}
}
runList = 'main'
}
Is it possible to have an array of changelog files?