Skip to content

Commit

Permalink
added env params from secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksiybozhykntt committed Dec 6, 2024
1 parent b9c3a50 commit 59ad0ff
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ tasks.withType<Test> {

tasks.jacocoTestReport {
dependsOn(tasks.test)
dependsOn(tasks.generateOpenApiDocs)
reports {
reports {
xml.required = true
}
}
Expand Down Expand Up @@ -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")
}

Expand Down

0 comments on commit 59ad0ff

Please sign in to comment.