Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liquibase plugin not working if project is not a root project #76

Open
ashishsinghdev opened this issue Jun 21, 2020 · 0 comments
Open

Comments

@ashishsinghdev
Copy link

Hi,

Gradle Version: 6.5
OS: Ubuntu 18.04.1

I'm facing an issue while configuring liquibase plugins. I've a multi-module project schema as

+fin
-----\schema
-----build.gradle
settings.gradle

schema is a subproject of fin rootProject without any settings.gradle file.
When I execute the task gradle generateChangelog from schema dir, It's throwing an error

==================================================

Task :schema:generateChangelog FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':schema:generateChangelog'.

No such property: activities for class: java.lang.String
==================================================

But interestingly, if I create an empty setting.gradle file under schema subproject directory the generateChangelog task works as expected.

Is it mandatory that project should be a rootProject (i.e. must exist settings.gradle file) in order to apply liquibase plugin or I just found a Bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant