From f9397725cdc180f82a8e2540ba3824595c22dad4 Mon Sep 17 00:00:00 2001 From: Vishwas Babu A J Date: Sat, 7 Jun 2014 10:50:21 -0700 Subject: [PATCH] augument runtime and compile classpath for integration tests to include main and test --- mifosng-provider/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mifosng-provider/build.gradle b/mifosng-provider/build.gradle index 51afd01c6..48ba69303 100644 --- a/mifosng-provider/build.gradle +++ b/mifosng-provider/build.gradle @@ -54,6 +54,8 @@ configurations { all*.exclude group: 'commons-logging' } +sourceSets.test.compileClasspath += sourceSets.main.compileClasspath + dependencies { def tomcatVersion = '7.0.47' tomcat "org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}", @@ -230,6 +232,8 @@ tomcatRunWar { sourceSets { integrationTest { + compileClasspath += main.output + test.output + runtimeClasspath += main.output + test.output } }