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

Gradle 7 fix for ServerFeatureUtil #681

Merged
merged 2 commits into from
Dec 17, 2021

Conversation

kathrynkodama
Copy link
Contributor

Fixes the following error when running generateFeatures or installFeature with Gradle 7:

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':installFeature' (type 'InstallFeatureTask').
  - In plugin 'liberty' type 'io.openliberty.tools.gradle.tasks.InstallFeatureTask' property 'serverFeatureUtil' 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.3.1/userguide/validation_problems.html#missing_annotation for more details about this problem.

Signed-off-by: Kathryn Kodama [email protected]

@kathrynkodama
Copy link
Contributor Author

Updated to include fix for #682

@kathrynkodama kathrynkodama linked an issue Dec 16, 2021 that may be closed by this pull request
@kathrynkodama kathrynkodama merged commit 11180ab into OpenLiberty:main Dec 17, 2021
@kathrynkodama kathrynkodama deleted the gradle-7-fix branch January 24, 2022 19:22
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

Successfully merging this pull request may close these issues.

generateFeatures fails on Gradle 7
2 participants