Skip to content

[REQ] [Gradle] Support Gradle Cache for Gradle Plugin "org.openapi.generator" #6472

@HenningWaack

Description

@HenningWaack
Description

The Gradle Plugin "org.openapi.generator" does not support caching, since build inputs and outputs are not declared and the task types are not cachable, see https://docs.gradle.org/current/userguide/custom_gradle_types.html and https://docs.gradle.org/current/userguide/build_cache.html#sec:task_output_caching_details

openapi-generator version

v4.x

Steps to reproduce

Run gradle openApiGenerate --info multiple times. The generator tasks are executed every time, no caching is done.

Suggest a fix/enhancement

Enhance current Gradle plugin to support Caching by declaring @input and @OutputDirectory annotations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions