Skip to content

Commit 0ce7187

Browse files
committed
replace com.github.psxpaul.execfork by com.github.psxpaul.execfork. introduce bootRun related and remove unused constants
1 parent 512ccfb commit 0ce7187

File tree

1 file changed

+3
-4
lines changed
  • src/main/kotlin/org/springdoc/openapi/gradle/plugin

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ const val EXTENSION_NAME = "openApi"
44
const val GROUP_NAME = "OpenApi"
55
const val OPEN_API_TASK_NAME = "generateOpenApiDocs"
66
const val OPEN_API_TASK_DESCRIPTION = "Generates the spring doc openapi file"
7-
const val SPRING_BOOT_JAR_TASK_NAME = "bootJar"
7+
const val SPRING_BOOT_RUN_TASK_NAME = "bootRun"
8+
const val SPRING_BOOT_RUN_MAIN_CLASS_NAME_TASK_NAME = "bootRunMainClassName"
89
const val FORKED_SPRING_BOOT_RUN_TASK_NAME = "forkedSpringBootRun"
9-
const val FINALIZER_TASK_NAME = "stopForkedSpringBoot"
1010

1111
const val DEFAULT_API_DOCS_URL = "http://localhost:8080/v3/api-docs"
1212
const val DEFAULT_OPEN_API_FILE_NAME = "openapi.json"
1313
const val DEFAULT_WAIT_TIME_IN_SECONDS = 30
1414

1515
const val SPRING_BOOT_PLUGIN = "org.springframework.boot"
16-
const val PROCESS_PLUGIN = "com.github.johnrengelman.processes"
16+
const val EXEC_FORK_PLUGIN = "com.github.psxpaul.execfork"
1717

18-
const val PROPS_LAUNCHER_CLASS = "org.springframework.boot.loader.PropertiesLauncher"
1918
const val CLASS_PATH_PROPERTY_NAME = "java.class.path"

0 commit comments

Comments
 (0)