On a project with internal Gradle module dependencies, the generateOpenApiDocs fails with the following message.
> Task :apps:private-api:forkedSpringBootRun FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':xxx:forkedSpringBootRun' (type 'JavaExecFork').
- Gradle detected a problem with the following location: 'xxx/xxx.jar'.
Reason: Task ':xxx:forkedSpringBootRun' uses this output of task ':xxx:jar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
The problem appears only on the first generation after a clean task, so the problem breaks the CI.
It seems to come from a missing dependency with the task assemble.
On a project with internal Gradle module dependencies, the
generateOpenApiDocsfails with the following message.The problem appears only on the first generation after a
cleantask, so the problem breaks the CI.It seems to come from a missing dependency with the task
assemble.