spring-webflux.gradle 3.3 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
dependencies {
	compile(project(":spring-beans"))
	compile(project(":spring-core"))
	compile(project(":spring-web"))
	compile("io.projectreactor:reactor-core")
16
	compileOnly(project(":spring-core-coroutines"))
17 18
	optional(project(":spring-context"))
	optional(project(":spring-context-support"))  // for FreeMarker support
19
	optional("javax.servlet:javax.servlet-api:4.0.1")
20
	optional("javax.websocket:javax.websocket-api:1.1")
21
	optional("org.webjars:webjars-locator-core:0.37")
22
	optional("org.freemarker:freemarker:${freemarkerVersion}")
23 24 25 26
	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 已提交
27
	optional("io.projectreactor.netty:reactor-netty")
28 29 30 31
	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 已提交
32
	optional("org.eclipse.jetty.websocket:websocket-server") {
33 34 35 36 37
		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"
	}
38
	optional("org.apache.httpcomponents:httpclient:4.5.9") {
39 40
		exclude group: "commons-logging", module: "commons-logging"
	}
41 42
	optional("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
	optional("org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}")
43
	optional("com.google.protobuf:protobuf-java-util:3.7.1")
S
Sebastien Deleuze 已提交
44 45
	optional("org.jetbrains.kotlinx:kotlinx-coroutines-core:${coroutinesVersion}")
	optional("org.jetbrains.kotlinx:kotlinx-coroutines-reactor:${coroutinesVersion}")
46
	testCompile("javax.xml.bind:jaxb-api:2.3.1")
47
	testCompile("com.fasterxml:aalto-xml:1.1.1")
48
	testCompile("org.hibernate:hibernate-validator:6.0.16.Final")
49 50
	testCompile "io.reactivex.rxjava2:rxjava:${rxjava2Version}"
	testCompile("io.projectreactor:reactor-test")
J
Juergen Hoeller 已提交
51
	testCompile("io.undertow:undertow-core:${undertowVersion}")
52
	testCompile("org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}")
J
Juergen Hoeller 已提交
53
	testCompile("org.apache.tomcat:tomcat-util:${tomcatVersion}")
S
Sebastien Deleuze 已提交
54 55
	testCompile("org.eclipse.jetty:jetty-server")
	testCompile("org.eclipse.jetty:jetty-servlet")
56
	testCompile("org.eclipse.jetty:jetty-reactive-httpclient:1.0.3")
57
	testCompile("com.squareup.okhttp3:mockwebserver:3.14.2")
58
	testCompile(project(":spring-core-coroutines"))
59 60
	testCompile("org.jetbrains.kotlin:kotlin-script-runtime:${kotlinVersion}")
	testRuntime("org.jetbrains.kotlin:kotlin-scripting-jsr223-embeddable:${kotlinVersion}")
61
	testRuntime("org.jruby:jruby:9.2.7.0")
62 63 64 65
	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")
66 67
	testRuntime("com.sun.xml.bind:jaxb-core:2.3.0.1")
	testRuntime("com.sun.xml.bind:jaxb-impl:2.3.0.1")
68
	testRuntime("com.sun.activation:javax.activation:1.2.0")
69
}