You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.9 KiB
48 lines
1.9 KiB
description = "Spring WebSocket" |
|
|
|
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 |
|
} |
|
|
|
dependencies { |
|
compile(project(":spring-context")) |
|
compile(project(":spring-core")) |
|
compile(project(":spring-web")) |
|
optional(project(":spring-messaging")) |
|
optional(project(":spring-webmvc")) |
|
optional("javax.servlet:javax.servlet-api:4.0.1") |
|
optional("javax.websocket:javax.websocket-api:1.1") |
|
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" |
|
} |
|
optional("org.glassfish.tyrus:tyrus-container-servlet:1.13.1") |
|
optional("org.eclipse.jetty:jetty-webapp:${jettyVersion}") { |
|
exclude group: "javax.servlet", module: "javax.servlet" |
|
} |
|
optional("org.eclipse.jetty.websocket:websocket-server:${jettyVersion}") { |
|
exclude group: "javax.servlet", module: "javax.servlet" |
|
} |
|
optional("org.eclipse.jetty.websocket:websocket-client:${jettyVersion}") |
|
optional("org.eclipse.jetty:jetty-client:${jettyVersion}") |
|
optional("io.undertow:undertow-servlet:${undertowVersion}") { |
|
exclude group: "org.jboss.spec.javax.servlet", module: "jboss-servlet-api_3.1_spec" |
|
exclude group: "org.jboss.spec.javax.annotation", module: "jboss-annotations-api_1.2_spec" |
|
} |
|
optional("io.undertow:undertow-websockets-jsr:${undertowVersion}") { |
|
exclude group: "org.jboss.spec.javax.websocket", module: "jboss-websocket-api_1.1_spec" |
|
} |
|
optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}") |
|
testCompile("org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}") |
|
testCompile("org.apache.tomcat.embed:tomcat-embed-websocket:${tomcatVersion}") |
|
testCompile("io.projectreactor.netty:reactor-netty") |
|
}
|
|
|