kordamp / kordamp-gradle-plugins

A collection of Gradle plugins
https://kordamp.org/kordamp-gradle-plugins/
Apache License 2.0
138 stars 25 forks source link

aggregateGroovydoc task is not working #521

Closed dmurat closed 1 year ago

dmurat commented 1 year ago

With Gradle 7.6.1 and kordamp plugins 0.49.0, I'm getting the following output when trying to execute aggregateGroovydoc task:

gw aggregateGroovydoc
...
* What went wrong:
Some problems were found with the configuration of task ':aggregateGroovydoc' (type 'Groovydoc').
  - Type 'org.gradle.api.tasks.javadoc.Groovydoc' property 'includeAuthor' doesn't have a configured value.

    Reason: This property isn't marked as optional and no value has been configured.

    Possible solutions:
      1. Assign a value to 'includeAuthor'.
      2. Mark property 'includeAuthor' as optional.

    Please refer to https://docs.gradle.org/7.6.1/userguide/validation_problems.html#value_not_set for more details about this problem.
  - Type 'org.gradle.api.tasks.javadoc.Groovydoc' property 'includeMainForScripts' doesn't have a configured value.

    Reason: This property isn't marked as optional and no value has been configured.

    Possible solutions:
      1. Assign a value to 'includeMainForScripts'.
      2. Mark property 'includeMainForScripts' as optional.

    Please refer to https://docs.gradle.org/7.6.1/userguide/validation_problems.html#value_not_set for more details about this problem.
  - Type 'org.gradle.api.tasks.javadoc.Groovydoc' property 'processScripts' doesn't have a configured value.

    Reason: This property isn't marked as optional and no value has been configured.

    Possible solutions:
      1. Assign a value to 'processScripts'.
      2. Mark property 'processScripts' as optional.

    Please refer to https://docs.gradle.org/7.6.1/userguide/validation_problems.html#value_not_set for more details about this problem.
...
aalmiray commented 1 year ago

Already ported to master branch https://github.com/kordamp/kordamp-gradle-plugins/issues/511

aalmiray commented 1 year ago

As a workaround, disable aggregate groovydoc if you don't need it.

dmurat commented 1 year ago

Actually, I disabled only the usage in Github Actions (comment it out) where it is a part of the workflow. Tnx for the suggestion.