[Editor] Change Application Runner behavior to run build pipeline only if the output jar does not exist
This commit is contained in:
@@ -38,7 +38,12 @@ class DefaultApplicationRunner : ApplicationRunner {
|
||||
}
|
||||
|
||||
isRunning = true
|
||||
pipelineService.build().onSucceeded = EventHandler { runApplication(project) }
|
||||
|
||||
if (project.buildOutputJarFile.exists() && project.buildOutputJarFile.isFile) {
|
||||
runApplication(project)
|
||||
} else {
|
||||
pipelineService.build().onSucceeded = EventHandler { runApplication(project) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user