Skip to content

Commit dcaeb65

Browse files
Issue #120 fix - set fork working dir to temp dir
1 parent e855f9c commit dcaeb65

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

Lines changed: 1 addition & 1 deletion
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)