repositories { mavenCentral() } apply plugin: 'java' apply plugin: 'war' apply plugin: 'jetty' apply plugin: 'eclipse' apply plugin: 'project-report' sourceCompatibility = 1.6 targetCompatibility = 1.6 version = '1.0' sourceSets.main.classesDir = new File('src/main/webapp/WEB-INF/classes') jettyRun.scanIntervalSeconds=3 jettyRun.contextPath = '/' [jettyRunWar,jettyStop]*.stopPort = 8081 [jettyRunWar,jettyStop]*.stopKey = 'stopKey' dependencies { compile group: 'br.com.caelum', name: 'vraptor', version: '3.2.0', { exclude group: 'org.springframework', name: 'spring' } compile group: 'org.springframework', name: 'spring-web', version: '3.0.4.RELEASE' compile group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.3.1' compile group: 'org.hsqldb', name: 'hsqldb', version: '2.0.0' compile group: 'opensymphony', name: 'sitemesh', version: '2.4.2' compile group: 'javax.servlet', name: 'jstl', version: '1.2' compile group: 'javax.persistence', name: 'persistence-api', version: '1.0' compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '3.4.0.GA' compile group: 'org.hibernate', name: 'hibernate-core', version: '3.3.2.GA' compile group: 'org.hibernate', name: 'hibernate-validator', version: '3.1.0.GA' compile group: 'joda-time', name: 'joda-time', version: '1.6.2' //Provided dependencies providedCompile group: 'javax.servlet', name: 'servlet-api', version: '2.5' providedCompile group: 'javax.servlet.jsp', name: 'jsp-api', version: '2.1' //Test dependencies testCompile group: 'junit', name: 'junit', version: '4.8.2' testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.1' testCompile group: 'org.mockito', name: 'mockito-all', version: '1.8.5' }