39 lines
1.4 KiB
Groovy
39 lines
1.4 KiB
Groovy
|
|
dependencies {
|
|
compile "org.springframework:spring-context:$springVersion",
|
|
"org.springframework:spring-web:$springVersion"
|
|
|
|
provided "javax.servlet:javax.servlet-api:$servletApiVersion"
|
|
|
|
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:5.11:jdk15"
|
|
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'
|
|
}
|
|
|
|
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 {
|
|
useTestNG();
|
|
options {
|
|
jvmArgs = ["-ea", '-Xms128m', '-Xmx500m']
|
|
systemProperties = ['webapp.dir': "$projectDir/src/main/webapp"]
|
|
}
|
|
maxParallelForks = 1
|
|
}
|