diff --git a/buildSrc/src/main/groovy/csde.gradle b/buildSrc/src/main/groovy/csde.gradle index a94ffa9..574617e 100644 --- a/buildSrc/src/main/groovy/csde.gradle +++ b/buildSrc/src/main/groovy/csde.gradle @@ -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 {