31 lines
741 B
Groovy
31 lines
741 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'org.gradle.api.plugins:gradle-tomcat-plugin:0.9.9'
|
|
}
|
|
}
|
|
|
|
ext.springVersion = '3.2.4.RELEASE'
|
|
ext.springWsVersion = '2.1.4.RELEASE'
|
|
ext.tomcatVersion = '7.0.42'
|
|
|
|
apply plugin: 'war'
|
|
apply plugin: 'tomcat'
|
|
|
|
tomcatRun {
|
|
contextPath = 'echo-server'
|
|
}
|
|
|
|
dependencies {
|
|
compile("org.springframework.ws:spring-ws-core:$springWsVersion")
|
|
runtime("log4j:log4j:1.2.16")
|
|
|
|
tomcat("org.apache.tomcat.embed:tomcat-embed-core:$tomcatVersion",
|
|
"org.apache.tomcat.embed:tomcat-embed-logging-juli:$tomcatVersion")
|
|
tomcat("org.apache.tomcat.embed:tomcat-embed-jasper:$tomcatVersion") {
|
|
exclude group: 'org.eclipse.jdt.core.compiler', module: 'ecj'
|
|
}
|
|
} |