From 076a75d8c3cb4add49407f605947372836fec0e3 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Sun, 15 May 2011 21:28:20 -0500 Subject: [PATCH] Cleaned up cas task dependency declarations --- samples/cas/sample/cassample.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/cas/sample/cassample.gradle b/samples/cas/sample/cassample.gradle index 3a328cf777..07187f707a 100644 --- a/samples/cas/sample/cassample.gradle +++ b/samples/cas/sample/cassample.gradle @@ -68,7 +68,8 @@ dependencies { } } -task cas (dependsOn: [jettyRunWar,':spring-security-samples-casserver:casServer']) { +task cas (dependsOn: [jettyRunWar]) { + jettyRunWar.dependsOn(':spring-security-samples-casserver:casServer') } task casServer(dependsOn: ':spring-security-samples-casserver:casServer') { @@ -95,7 +96,6 @@ gradle.taskGraph.whenReady {graph -> delegate.connectors.find { it instanceof org.mortbay.jetty.nio.SelectChannelConnector } } if (graph.hasTask(cas)) { - jettyRunWar.dependsOn(casServer) casServer.daemon = true } if(graph.hasTask(integrationTest)) {