Description
When using the Gradle plugin with configuration cache enabled, the build fails:
This is because usage of project at execution time is not supported.
This occurs at this line which is evaluated if cleanOutput flag is true
openapi-generator version
Latest from master
OpenAPI declaration file content or url
Gradle extension configuration:
openApiGenerate {
cleanupOutput.set(true)
}
Command line used for generation
Using Gradle 8.1.1 for instance
./gradlew clean openApiGenerate --configuration-cache
Steps to reproduce
Run the generation command twice in a row
Related issues/PRs
Description
When using the Gradle plugin with configuration cache enabled, the build fails:
This is because usage of
projectat execution time is not supported.This occurs at this line which is evaluated if
cleanOutputflag istrueopenapi-generator version
Latest from
masterOpenAPI declaration file content or url
Gradle extension configuration:
Command line used for generation
Using Gradle 8.1.1 for instance
Steps to reproduce
Run the generation command twice in a row
Related issues/PRs