We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e726b3 commit dd53c4bCopy full SHA for dd53c4b
src/main/kotlin/org/springdoc/openapi/gradle/plugin/OpenApiGradlePlugin.kt
@@ -59,10 +59,13 @@ open class OpenApiGradlePlugin : Plugin<Project> {
59
fork.onlyIf { needToFork(bootRunTask, customBootRun, fork) }
60
}
61
62
- // This is my task. Before I can run it, I have to run the dependent tasks
63
val openApiTask =
64
tasks.named(OPEN_API_TASK_NAME, OpenApiGeneratorTask::class.java) {
+ // This is my task. Before I can run it, I have to run the dependent tasks
65
it.dependsOn(forkedSpringBoot)
66
+
67
+ // Ensure the task inputs match those of the original application
68
+ it.inputs.files(bootRunTask.get().inputs.files)
69
70
71
// The forked task need to be terminated as soon as my task is finished
0 commit comments