Merge pull request #929 from vishwasbabu/develop
augument runtime and compile classpath for integration tests to include ...
This commit is contained in:
@@ -54,6 +54,8 @@ configurations {
|
|||||||
all*.exclude group: 'commons-logging'
|
all*.exclude group: 'commons-logging'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourceSets.test.compileClasspath += sourceSets.main.compileClasspath
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
def tomcatVersion = '7.0.47'
|
def tomcatVersion = '7.0.47'
|
||||||
tomcat "org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}",
|
tomcat "org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}",
|
||||||
@@ -230,6 +232,8 @@ tomcatRunWar {
|
|||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
integrationTest {
|
integrationTest {
|
||||||
|
compileClasspath += main.output + test.output
|
||||||
|
runtimeClasspath += main.output + test.output
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user