Reputation: 23
When I try to use "rollback" task I have an error: The value for task ':database-module:rollback' property 'mainClass' is final and cannot be changed any further.
Does anyone know how to solve this?
Upvotes: 2
Views: 1113
Reputation: 7590
I am assuming you are on Gradle 6.4 as the error matches a change that was done in that version.
If so, it's a bug/incompatability in the Liquibase Gradle plugin. Check the progress on it here: https://github.com/liquibase/liquibase-gradle-plugin/issues/70
As a work-around, consider using Gradle 6.3 until it is fixed.
Upvotes: 1