augument runtime and compile classpath for integration tests to include main and test

This commit is contained in:
Vishwas Babu A J
2014-06-07 10:50:21 -07:00
parent 8e61abe4ed
commit f9397725cd
+4
View File
@@ -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
}
}