Merge pull request #31 from corda/CORE-12019/Add_stopAndCleanCorda_task
CORE-12019 Add a "stopAndCleanCorda" gradle task that will Stop Corda5 if running and do some cleanup
This commit is contained in:
commit
b822fa8c1f
@ -146,6 +146,19 @@ tasks.register("stopCorda") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.register("stopAndCleanCorda") {
|
||||||
|
group = cordaGroup
|
||||||
|
dependsOn('clean')
|
||||||
|
doLast {
|
||||||
|
try {
|
||||||
|
cordaLifeCycle.stopCorda()
|
||||||
|
} catch (Exception ignore) {
|
||||||
|
println("ignoring exception: ${ignore.toString()}")
|
||||||
|
}
|
||||||
|
delete devEnvWorkspace
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
tasks.register("getPostgresJDBC") {
|
tasks.register("getPostgresJDBC") {
|
||||||
group = supportingGroup
|
group = supportingGroup
|
||||||
doLast {
|
doLast {
|
||||||
|
Loading…
Reference in New Issue
Block a user