Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin generates new files despite the inputFiles are not changed since the last generation #296

Open
kurtinaitis opened this issue Jan 26, 2022 · 0 comments
Labels

Comments

@kurtinaitis
Copy link

Description

Plugin generates new files despite the inputFiles are not changed since the last generation.
It takes too much time for subsequent generation/compilation which has to be prevented by gradle/plugins.

To Reproduce:

Run $ ./gradlew generateSwaggerCode several times and observe that it generates files on every run. It takes about the same time to finish.

Expected behavior:

Plugin checks if the generated files are newer than the input file and then skips generation.

Environment

Plugin version: 2.19.1
Swagger Codegen version: 3.0.32
Gradle version: 5.3.1
Java version: openjdk 11.0.13 2021-10-19
OS: linux mint 20.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant