Skip to content

Commit d6f3d3e

Browse files
authored
Merge pull request #142 from hesselapplications/master
Issue #120 fix - set fork working dir to temp dir
2 parents dfd6070 + dcaeb65 commit d6f3d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/org/springdoc/openapi/gradle/plugin/OpenApiGradlePlugin.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ open class OpenApiGradlePlugin : Plugin<Project> {
9696

9797
// use original bootRun parameter if the list-type customBootRun properties are empty
9898
workingDir = customBootRun.workingDir.asFile.orNull
99-
?: fork.workingDir
99+
?: fork.temporaryDir
100100
args = customBootRun.args.orNull?.takeIf { it.isNotEmpty() }?.toMutableList()
101101
?: bootRun.args?.toMutableList() ?: mutableListOf()
102102
classpath = customBootRun.classpath.takeIf { !it.isEmpty }

0 commit comments

Comments
 (0)