buildscript { repositories { maven { url 'https://repo.spring.io/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' jar { baseName = 'spring-reactive' } group = 'org.springframework.reactive' repositories { mavenCentral() mavenLocal() maven { url 'https://oss.jfrog.org/libs-snapshot' } // RxNetty 0.5.x snapshots maven { url 'http://repo.spring.io/snapshot' } // Reactor snapshot } configurations.all { // check for updates every build resolutionStrategy.cacheChangingModulesFor 0, 'seconds' } dependencies { compile "org.springframework:spring-core:4.2.0.RELEASE" compile "org.springframework:spring-web:4.2.0.RELEASE" compile "org.reactivestreams:reactive-streams:1.0.0" compile "io.projectreactor:reactor-core:2.1.0.BUILD-SNAPSHOT" compile "commons-logging:commons-logging:1.2" optional "com.fasterxml.jackson.core:jackson-databind:2.6.1" optional "io.reactivex:rxnetty:0.5.0-SNAPSHOT" optional "io.reactivex:rxjava-reactive-streams:1.0.1" optional "io.projectreactor:reactor-net:2.1.0.BUILD-SNAPSHOT" optional 'org.apache.tomcat:tomcat-util:8.0.24' optional 'org.apache.tomcat.embed:tomcat-embed-core:8.0.24' optional 'org.eclipse.jetty:jetty-server:9.3.2.v20150730' optional 'org.eclipse.jetty:jetty-servlet:9.3.2.v20150730' provided "javax.servlet:javax.servlet-api:3.1.0" testCompile "junit:junit:4.12" testCompile "org.springframework:spring-test:4.2.0.RELEASE" testCompile "org.slf4j:slf4j-jcl:1.7.12" testCompile "org.slf4j:jul-to-slf4j:1.7.12" 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") }