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
{{ message }}
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
Unable to take advantage of the gradle configuration cache as the swagger codegen is failing with error
Execution failed for task ':platform.clients.assets:generateSwaggerCodeApi'.
> Could not get unknown property 'swaggerCodegen' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.
Was wondering if there are any plans to update the plugin to support configuration cache.
To Reproduce:
Expected behavior:
Environment
Plugin version: 2.19.2
Swagger Codegen version: org.openapitools:openapi-generator-cli:6.2.0 and org.openapitools:openapi-generator-cli:4.3.0
Gradle version: 8.1.1
Java version: 11
OS: Mac
The text was updated successfully, but these errors were encountered:
FWIW, there is on more issue listed when the build fails with the above error:
Configuration cache problems found in this build.
1 problem was found storing the configuration cache.
- Task `<redacted>` of type `org.hidetake.gradle.swagger.generator.GenerateSwaggerCode`: invocation of 'Task.project' at execution time is unsupported.
- Task `<redacted>` of type `org.hidetake.gradle.swagger.generator.ResolveSwaggerTemplate`: invocation of 'Task.project' at execution time is unsupported.
Describe the bug
Unable to take advantage of the gradle configuration cache as the swagger codegen is failing with error
Was wondering if there are any plans to update the plugin to support configuration cache.
To Reproduce:
Expected behavior:
Environment
Plugin version: 2.19.2
Swagger Codegen version: org.openapitools:openapi-generator-cli:6.2.0 and org.openapitools:openapi-generator-cli:4.3.0
Gradle version: 8.1.1
Java version: 11
OS: Mac
The text was updated successfully, but these errors were encountered: