spring-web.gradle 4.2 KB
Newer Older
1 2 3
description = "Spring Web"

apply plugin: "groovy"
4 5 6 7 8 9 10 11 12 13 14 15
apply plugin: "io.spring.dependency-management"

dependencyManagement {
	imports {
		mavenBom "io.projectreactor:reactor-bom:${reactorVersion}"
		mavenBom "io.netty:netty-bom:${nettyVersion}"
	}
	resolutionStrategy {
		cacheChangingModulesFor 0, 'seconds'
	}
	applyMavenExclusions = false
}
16 17 18 19 20 21 22 23 24 25 26

dependencies {
	compile(project(":spring-beans"))
	compile(project(":spring-core"))
	optional(project(":spring-aop"))
	optional(project(":spring-context"))
	optional(project(":spring-oxm"))
	optional("javax.servlet:javax.servlet-api:3.1.0")
	optional("javax.servlet.jsp:javax.servlet.jsp-api:2.3.2-b02")
	optional("javax.el:javax.el-api:3.0.1-b04")
	optional("javax.faces:javax.faces-api:2.2")
27
	optional("javax.json.bind:javax.json.bind-api:1.0")
J
Juergen Hoeller 已提交
28
	optional("javax.mail:javax.mail-api:1.6.1")
29
	optional("javax.validation:validation-api:1.1.0.Final")
30 31
	optional("javax.xml.bind:jaxb-api:2.3.0")
	optional("javax.xml.ws:jaxws-api:2.3.0")
32
	optional("org.glassfish.main:javax.jws:4.0-b33")
33 34 35
	optional("io.reactivex:rxjava:${rxjavaVersion}")
	optional("io.reactivex:rxjava-reactive-streams:${rxjavaAdapterVersion}")
	optional("io.reactivex.rxjava2:rxjava:${rxjava2Version}")
36
	optional("io.netty:netty-all")
V
Violeta Georgieva 已提交
37
	optional("io.projectreactor.netty:reactor-netty:0.8.0.BUILD-SNAPSHOT")
38
	optional("org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}")
39 40
	optional("org.eclipse.jetty:jetty-server:${jettyVersion}") {
		exclude group: "javax.servlet", module: "javax.servlet-api"
41
	}
42 43 44 45
	optional("org.eclipse.jetty:jetty-servlet:${jettyVersion}") {
		exclude group: "javax.servlet", module: "javax.servlet-api"
	}
	optional("io.undertow:undertow-core:${undertowVersion}")
46
	optional("com.squareup.okhttp3:okhttp:3.10.0")
47
	optional("org.apache.httpcomponents:httpclient:4.5.5") {
48 49 50 51 52
		exclude group: "commons-logging", module: "commons-logging"
	}
	optional("org.apache.httpcomponents:httpasyncclient:4.1.3") {
		exclude group: "commons-logging", module: "commons-logging"
	}
53 54
	optional("commons-fileupload:commons-fileupload:1.3.3")
	optional("org.synchronoss.cloud:nio-multipart-parser:1.1.0")
55
	optional("com.fasterxml.woodstox:woodstox-core:5.1.0") {  // woodstox before aalto
56 57 58
		exclude group: "stax", module: "stax-api"
	}
	optional("com.fasterxml:aalto-xml:1.0.0")
59 60 61 62
	optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")
	optional("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson2Version}")
	optional("com.fasterxml.jackson.dataformat:jackson-dataformat-smile:${jackson2Version}")
	optional("com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:${jackson2Version}")
63
	optional("com.google.code.gson:gson:2.8.5")
64
	optional("com.google.protobuf:protobuf-java-util:3.5.1")
65
	optional("com.googlecode.protobuf-java-format:protobuf-java-format:1.4")
66
	optional("com.rometools:rome:1.9.0")
67 68
	optional("com.caucho:hessian:4.0.51")
	optional("org.codehaus.groovy:groovy-all:${groovyVersion}")
69 70
	optional("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
	optional("org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}")
71
	testCompile("io.projectreactor:reactor-test")
72
	testCompile("org.apache.taglibs:taglibs-standard-jstlel:1.2.5") {
73 74 75 76
		exclude group: "org.apache.taglibs", module: "taglibs-standard-spec"
	}
	testCompile("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${jackson2Version}")
	testCompile("com.fasterxml.jackson.datatype:jackson-datatype-joda:${jackson2Version}")
77
	testCompile("com.fasterxml.jackson.module:jackson-module-kotlin:${jackson2Version}")
78 79 80 81
	testCompile("org.apache.tomcat:tomcat-util:${tomcatVersion}")
	testCompile("org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}")
	testCompile("org.eclipse.jetty:jetty-server:${jettyVersion}")
	testCompile("org.eclipse.jetty:jetty-servlet:${jettyVersion}")
82
	testCompile("com.squareup.okhttp3:mockwebserver:3.10.0")
83
	testCompile("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
84
	testCompile("org.skyscreamer:jsonassert:1.5.0")
85
	testCompile("org.xmlunit:xmlunit-matchers:2.6.0")
J
Juergen Hoeller 已提交
86
	testRuntime("com.sun.mail:javax.mail:1.6.1")
87 88
	testRuntime("com.sun.xml.bind:jaxb-core:2.3.0")
	testRuntime("com.sun.xml.bind:jaxb-impl:2.3.0")
J
Juergen Hoeller 已提交
89
	testRuntime("javax.json:javax.json-api:1.1.2")
90
	testRuntime("org.apache.johnzon:johnzon-jsonb:1.1.7")
91
}