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

With Gradle 7.6.2 and Java 17, Liquibase build throwing 'org.liquibase.gradle.LiquibaseTask' property 'command' is missing an input or output annotation #126

Open
ramanjaneyulupathuri opened this issue Jul 11, 2023 · 3 comments

Comments

@ramanjaneyulupathuri
Copy link

Hi Team,

We are using gradle liquibase plugin 2.2.0, Gradle 7.6.2 and Java 17,
While we run liquibase:update task below exception is throwing.

**Some problems were found with the configuration of task ':liquibase:update' (type 'LiquibaseTask').

  • In plugin 'org.liquibase.gradle' type 'org.liquibase.gradle.LiquibaseTask' property 'command' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:

    1. Add an input or output annotation.
    2. Mark it as @internal.**
@owpk
Copy link

owpk commented Jul 15, 2023

same issue

@eranshpiner
Copy link

Hi Team,

Using 'org.liquibase:liquibase-core:4.2.2' with Gradle 7.6 and Java 17, we encounter similar build issues:

Some problems were found with the configuration of task ':liquibase:update' (type 'LiquibaseTask').

  • In plugin 'liquibase' type 'org.liquibase.gradle.LiquibaseTask' property 'command' is missing an input or output annotation.
  • In plugin 'liquibase' type 'org.liquibase.gradle.LiquibaseTask' property 'requiresValue' is missing an input or output annotation.

Any advise on how to address this issue would be highly appreciated.

@pthiruma-pinc
Copy link

Same issue, Any updates on how to fix them?

Some problems were found with the configuration of task ':liquibase:update' (type 'LiquibaseTask').

  • In plugin 'liquibase' type 'org.liquibase.gradle.LiquibaseTask' property 'command' is missing an input or output annotation.

Reason: A property without annotation isn't considered during up-to-date checking.

Possible solutions:

  1. Add an input or output annotation.
  2. Mark it as @internal.

Please refer to https://docs.gradle.org/7.6.3/userguide/validation_problems.html#missing_annotation for more details about this problem.

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

4 participants