You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When declaring a gradle project like this:
// settings.gradle.kts
include("api:common")
Dokka will try to generate documentation for api, and fail.
Expected behaviour
Dokka will skip api. Screenshots
> Task :api:dokkaHtmlMultiModule FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':api:dokkaHtmlMultiModule' (type 'DokkaMultiModuleTask').
- Gradle detected a problem with the following location: '/home/laxystem/Projects/Gimli/api/client/build/dokka/htmlPartial'.
Reason: Task ':api:dokkaHtmlMultiModule' uses this output of task ':dokkaHtmlMultiModule' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':dokkaHtmlMultiModule' as an input of ':api:dokkaHtmlMultiModule'.
2. Declare an explicit dependency on ':dokkaHtmlMultiModule' from ':api:dokkaHtmlMultiModule' using Task#dependsOn.
3. Declare an explicit dependency on ':dokkaHtmlMultiModule' from ':api:dokkaHtmlMultiModule' using Task#mustRunAfter.
For more information, please refer to https://docs.gradle.org/8.6/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
- Gradle detected a problem with the following location: '/home/laxystem/Projects/Gimli/api/common/build/dokka/htmlPartial'.
Reason: Task ':api:dokkaHtmlMultiModule' uses this output of task ':dokkaHtmlMultiModule' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':dokkaHtmlMultiModule' as an input of ':api:dokkaHtmlMultiModule'.
2. Declare an explicit dependency on ':dokkaHtmlMultiModule' from ':api:dokkaHtmlMultiModule' using Task#dependsOn.
3. Declare an explicit dependency on ':dokkaHtmlMultiModule' from ':api:dokkaHtmlMultiModule' using Task#mustRunAfter.
For more information, please refer to https://docs.gradle.org/8.6/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
- Gradle detected a problem with the following location: '/home/laxystem/Projects/Gimli/api/server/build/dokka/htmlPartial'.
Reason: Task ':api:dokkaHtmlMultiModule' uses this output of task ':dokkaHtmlMultiModule' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':dokkaHtmlMultiModule' as an input of ':api:dokkaHtmlMultiModule'.
2. Declare an explicit dependency on ':dokkaHtmlMultiModule' from ':api:dokkaHtmlMultiModule' using Task#dependsOn.
3. Declare an explicit dependency on ':dokkaHtmlMultiModule' from ':api:dokkaHtmlMultiModule' using Task#mustRunAfter.
For more information, please refer to https://docs.gradle.org/8.6/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
Describe the bug
When declaring a gradle project like this:
Dokka will try to generate documentation for
api
, and fail.Expected behaviour
Dokka will skip
api
.Screenshots
To Reproduce
There's a sample project on codeberg.
Dokka configuration
none yet
Installation
The text was updated successfully, but these errors were encountered: