diff --git a/buildSrc/src/main/groovy/csde.gradle b/buildSrc/src/main/groovy/csde.gradle index b07d114..f9e32e5 100644 --- a/buildSrc/src/main/groovy/csde.gradle +++ b/buildSrc/src/main/groovy/csde.gradle @@ -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") { group = supportingGroup doLast {