16 lines
382 B
Groovy
16 lines
382 B
Groovy
apply plugin: 'war'
|
|
apply plugin: 'jetty'
|
|
apply plugin: 'eclipse-wtp'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
providedCompile 'javax.servlet:servlet-api:2.5'
|
|
compile 'org.springframework:spring-webmvc:3.2.2.RELEASE'
|
|
runtime 'javax.servlet:jstl:1.1.2'
|
|
}
|
|
|
|
/* Change context path (base url). otherwise defaults to name of project */
|
|
jettyRunWar.contextPath = '' |