buildscript { repositories { maven { url 'http://repo.springsource.org/plugins-release' } } dependencies { classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7' } } apply plugin: 'java' apply plugin: 'propdeps' apply plugin: 'propdeps-idea' apply plugin: 'propdeps-maven' repositories { mavenCentral() } dependencies { compile "org.springframework:spring-core:4.2.0.RELEASE" compile "org.reactivestreams:reactive-streams:1.0.0" compile "org.slf4j:slf4j-api:1.7.6" compile "ch.qos.logback:logback-classic:1.1.2" provided "javax.servlet:javax.servlet-api:3.1.0" testCompile "junit:junit:4.12" testCompile "org.springframework:spring-web:4.2.0.RELEASE" testCompile "org.springframework:spring-test:4.2.0.RELEASE" testCompile 'org.apache.tomcat:tomcat-util:8.0.24' testCompile 'org.apache.tomcat.embed:tomcat-embed-core:8.0.24' testCompile 'org.eclipse.jetty:jetty-server:9.3.2.v20150730' testCompile 'org.eclipse.jetty:jetty-servlet:9.3.2.v20150730' testCompile("log4j:log4j:1.2.16") testCompile("org.mockito:mockito-core:1.10.19") { exclude group: 'org.hamcrest', module: 'hamcrest-core' } testCompile("org.hamcrest:hamcrest-all:1.3") }