diff --git a/build.gradle.kts b/build.gradle.kts index 52000d4..bdd1738 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -65,8 +65,7 @@ tasks.withType { tasks.jacocoTestReport { dependsOn(tasks.test) - dependsOn(tasks.generateOpenApiDocs) - reports { + reports { xml.required = true } } @@ -94,13 +93,9 @@ tasks.compileJava { dependsOn("openApiGenerate") } -tasks.build { - finalizedBy(tasks.generateOpenApiDocs) -} - openApi { apiDocsUrl.set("http://localhost:8080/v3/api-docs") - outputDir.set(file("$projectDir/build")) + outputDir.set(file("$projectDir/openapi")) outputFileName.set("generated.openapi.json") }