spring-webflux.gradle 3.1 KB
Newer Older
1 2
description = "Spring WebFlux"

3 4 5 6
dependencyManagement {
	imports {
		mavenBom "io.projectreactor:reactor-bom:${reactorVersion}"
		mavenBom "io.netty:netty-bom:${nettyVersion}"
S
Sebastien Deleuze 已提交
7
		mavenBom "org.eclipse.jetty:jetty-bom:${jettyVersion}"
8 9 10
	}
}

11 12 13 14 15 16 17
dependencies {
	compile(project(":spring-beans"))
	compile(project(":spring-core"))
	compile(project(":spring-web"))
	compile("io.projectreactor:reactor-core")
	optional(project(":spring-context"))
	optional(project(":spring-context-support"))  // for FreeMarker support
18
	optional("javax.servlet:javax.servlet-api:4.0.1")
19
	optional("javax.websocket:javax.websocket-api:1.1")
20
	optional("org.webjars:webjars-locator-core:0.35")
21
	optional("org.freemarker:freemarker:${freemarkerVersion}")
22 23 24 25
	optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")
	optional("com.fasterxml.jackson.dataformat:jackson-dataformat-smile:${jackson2Version}")
	optional("io.reactivex:rxjava:${rxjavaVersion}")
	optional("io.reactivex:rxjava-reactive-streams:${rxjavaAdapterVersion}")
R
Polish  
Rossen Stoyanchev 已提交
26
	optional("io.projectreactor.netty:reactor-netty")
27 28 29 30
	optional("org.apache.tomcat:tomcat-websocket:${tomcatVersion}") {
		exclude group: "org.apache.tomcat", module: "tomcat-websocket-api"
		exclude group: "org.apache.tomcat", module: "tomcat-servlet-api"
	}
S
Sebastien Deleuze 已提交
31
	optional("org.eclipse.jetty.websocket:websocket-server") {
32 33 34 35 36
		exclude group: "javax.servlet", module: "javax.servlet"
	}
	optional("io.undertow:undertow-websockets-jsr:${undertowVersion}") {
		exclude group: "org.jboss.spec.javax.websocket", module: "jboss-websocket-api_1.1_spec"
	}
37
	optional("org.apache.httpcomponents:httpclient:4.5.6") {
38 39
		exclude group: "commons-logging", module: "commons-logging"
	}
40 41
	optional("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
	optional("org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}")
42
	optional("com.google.protobuf:protobuf-java-util:3.6.1")
43
	testCompile("javax.xml.bind:jaxb-api:2.3.1")
44
	testCompile("com.fasterxml:aalto-xml:1.1.1")
45
	testCompile("org.hibernate:hibernate-validator:6.0.14.Final")
46 47
	testCompile "io.reactivex.rxjava2:rxjava:${rxjava2Version}"
	testCompile("io.projectreactor:reactor-test")
J
Juergen Hoeller 已提交
48
	testCompile("io.undertow:undertow-core:${undertowVersion}")
49
	testCompile("org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}")
J
Juergen Hoeller 已提交
50
	testCompile("org.apache.tomcat:tomcat-util:${tomcatVersion}")
S
Sebastien Deleuze 已提交
51 52
	testCompile("org.eclipse.jetty:jetty-server")
	testCompile("org.eclipse.jetty:jetty-servlet")
53
	testCompile("org.eclipse.jetty:jetty-reactive-httpclient:1.0.2")
54
	testCompile("com.squareup.okhttp3:mockwebserver:3.12.1")
55 56 57
	testCompile("org.jetbrains.kotlin:kotlin-script-runtime:${kotlinVersion}")
	testRuntime("org.jetbrains.kotlin:kotlin-script-util:${kotlinVersion}")
	testRuntime("org.jetbrains.kotlin:kotlin-compiler:${kotlinVersion}")
58
	testRuntime("org.jruby:jruby:9.2.5.0")
59 60 61 62
	testRuntime("org.python:jython-standalone:2.7.1")
	testRuntime("org.synchronoss.cloud:nio-multipart-parser:1.1.0")
	testRuntime("org.webjars:underscorejs:1.8.3")
	testRuntime("org.glassfish:javax.el:3.0.1-b08")
63 64
	testRuntime("com.sun.xml.bind:jaxb-core:2.3.0.1")
	testRuntime("com.sun.xml.bind:jaxb-impl:2.3.0.1")
65
	testRuntime("com.sun.activation:javax.activation:1.2.0")
66
}