Closed bomgar closed 4 years ago
This might be connected: https://github.com/gradle/gradle/issues/12833
@bomgar did you have any success with it? Even though the gradle regressions is reported to be fixed in 6.4, it's still reproduced for me with liquibase plugin.
The regression was introduced with 6.4. This plugins works fine with 6.3 Gradle changed something and this plugin is not compatible. Unfortunately I don't have a solution.
@bomgar yeah, thanks! 6.3 works fine
Just seen this error as well. The Gradle Lombok plugin solved this issue in the PR https://github.com/franzbecker/gradle-lombok/pull/77
Long story short: setMain in LiquibaseTask cannot be called during the run phase, but only in configuration time.
Release 2.0.3 of the plugin is now out, with the fix for this issue.
Upgrading gradle to 6.4 causes build problems.