CORE-12019 Add a "stopAndCleanCorda" gradle task that will Stop Corda5 if running and do some cleanup
This commit is contained in:
parent
d12f25b300
commit
48a19a73e1
@ -148,6 +148,18 @@ tasks.register("stopCorda") {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("stopAndCleanCorda") {
|
||||
group = cordaGroup
|
||||
dependsOn('clean')
|
||||
doLast {
|
||||
try {
|
||||
cordaLifeCycle.stopCorda()
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
delete devEnvWorkspace
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("getPostgresJDBC") {
|
||||
group = supportingGroup
|
||||
doLast {
|
||||
|
Loading…
Reference in New Issue
Block a user