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 compatibility #34

Closed
langera opened this issue May 23, 2022 · 5 comments
Closed

Gradle 7 compatibility #34

langera opened this issue May 23, 2022 · 5 comments

Comments

@langera
Copy link

langera commented May 23, 2022

When using the plugin with gradle 7.4.2 I get:


FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':mkdocsServe' (type 'MkdocsTask').
  - In plugin 'ru.vyarus.mkdocs' type 'ru.vyarus.gradle.plugin.mkdocs.task.MkdocsTask' property 'extras.version.empty' 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.4.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - In plugin 'ru.vyarus.mkdocs' type 'ru.vyarus.gradle.plugin.mkdocs.task.MkdocsTask' property 'extras.version.strings' 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.4.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
@xvik
Copy link
Owner

xvik commented May 23, 2022

Thank you! I will check

@langera
Copy link
Author

langera commented May 23, 2022

My config in build.gradle was

mkdocs {
    extras = [
        'version': "${-> project.version}",
    ]
    sourcesDir = 'docs'
    strict = true
    publish {
        docPath = ''
    }
}

@xvik xvik closed this as completed in 4486102 Jun 16, 2022
@xvik
Copy link
Owner

xvik commented Jun 16, 2022

Sorry for delay. I'll update mkdocs packages and will release fixed plugin version this weekend.

@xvik
Copy link
Owner

xvik commented Jun 17, 2022

released

@langera
Copy link
Author

langera commented Jun 17, 2022

Thank you

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

2 participants