-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
Description
Problem
Every time the gradle build runs, it runs the openApiGenerate task because it does not know when it is up-to-date. Gradle supports incremental builds via various methods.
Desired solution
Mark the correct Task Parameters in https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator-gradle-plugin/src/main/kotlin/org/openapitools/generator/gradle/plugin/tasks/GeneratorsTask.kt using the @Input, @InputFile, @OutputDirectory and other annotations as necessary, so that Gradle knows when all outputs are up-to-date.
More information can be found here: https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:up_to_date_checks #
sesamzoo, mikx, cthiebault, ZsocaM5, hnilsen and 5 more