spring-security/itest/web/itest-web.gradle

39 lines
1.2 KiB
Groovy
Raw Normal View History

dependencies {
2015-03-23 12:14:26 -04:00
compile "org.springframework:spring-context:$springVersion",
"org.springframework:spring-web:$springVersion"
2015-03-23 12:14:26 -04:00
provided "javax.servlet:javax.servlet-api:$servletApiVersion"
2015-03-23 12:14:26 -04:00
testCompile project(':spring-security-core'),
project(':spring-security-web'),
project(':spring-security-taglibs'),
"org.springframework:spring-beans:$springVersion",
"org.springframework:spring-webmvc:$springVersion",
"org.mortbay.jetty:jetty-util:$jettyVersion",
"org.testng:testng:6.8.21"
2015-03-23 12:14:26 -04:00
testCompile ("org.mortbay.jetty:jetty:$jettyVersion") {
exclude group: 'org.mortbay.jetty', module: 'servlet-api'
}
testCompile ('net.sourceforge.jwebunit:jwebunit-core:2.2') {
exclude group: 'javax.servlet', module: 'servlet-api'
exclude group: 'regexp', module: 'regexp'
}
2015-03-23 12:14:26 -04:00
testRuntime project(':spring-security-config'),
project(':spring-security-ldap'),
"org.mortbay.jetty:jsp-2.1-jetty:$jettyVersion",
testRuntime ('net.sourceforge.jwebunit:jwebunit-htmlunit-plugin:2.2') {
exclude group: 'javax.servlet', module: 'servlet-api'
}
}
integrationTest {
2015-03-23 12:14:26 -04:00
useTestNG();
options {
jvmArgs = ["-ea", '-Xms128m', '-Xmx500m']
systemProperties = ['webapp.dir': "$projectDir/src/main/webapp"]
}
maxParallelForks = 1
}