liquibase-gradle-plugin
liquibase-gradle-plugin copied to clipboard
Problem with labelFilter argument
Hello! I tried to add labelFilter value to the liquibase.activities.main but it was converted to '--label-filter' and failed the update.
My build.gradle looks like:
liquibase {
activities {
main {
changelogFile "./root-changelog.yml"
url "jdbc:postgresql:localhost:5432/test"
....
labelFilter "init"
}
}
}
The result of running the update job: Unexpected argument(s): --label-filter=init
Version of the gradle plugin is 2.2.0, gradle 8.1, openjdk 17
@vat78 did you ever find a resolution to this?
A workaround seems to be to use labels
which is an alias for labelFilter
in recent versions of Liquibase.
Version 3.0.0 of the plugin completely overhauled the way the plugin configures tasks. Is this still an issue with the latest version?