spring-webflux.gradle 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. description = "Spring WebFlux"
  2. apply plugin: "kotlin"
  3. dependencies {
  4. compile(project(":spring-beans"))
  5. compile(project(":spring-core"))
  6. compile(project(":spring-web"))
  7. compile("io.projectreactor:reactor-core")
  8. compileOnly(project(":kotlin-coroutines"))
  9. optional(project(":spring-context"))
  10. optional(project(":spring-context-support")) // for FreeMarker support
  11. optional("javax.servlet:javax.servlet-api")
  12. optional("javax.websocket:javax.websocket-api")
  13. optional("org.webjars:webjars-locator-core")
  14. optional("org.freemarker:freemarker")
  15. optional("com.fasterxml.jackson.core:jackson-databind")
  16. optional("com.fasterxml.jackson.dataformat:jackson-dataformat-smile")
  17. optional("io.reactivex:rxjava")
  18. optional("io.reactivex:rxjava-reactive-streams")
  19. optional("io.projectreactor.netty:reactor-netty")
  20. optional("org.apache.tomcat:tomcat-websocket")
  21. optional("org.eclipse.jetty.websocket:websocket-server") {
  22. exclude group: "javax.servlet", module: "javax.servlet"
  23. }
  24. optional("io.undertow:undertow-websockets-jsr")
  25. optional("org.apache.httpcomponents:httpclient")
  26. optional("org.jetbrains.kotlin:kotlin-reflect")
  27. optional("org.jetbrains.kotlin:kotlin-stdlib")
  28. optional("com.google.protobuf:protobuf-java-util")
  29. optional("org.jetbrains.kotlinx:kotlinx-coroutines-core")
  30. optional("org.jetbrains.kotlinx:kotlinx-coroutines-reactor")
  31. testCompile(project(":kotlin-coroutines"))
  32. testCompile(testFixtures(project(":spring-beans")))
  33. testCompile(testFixtures(project(":spring-core")))
  34. testCompile(testFixtures(project(":spring-web")))
  35. testCompile("javax.xml.bind:jaxb-api")
  36. testCompile("com.fasterxml:aalto-xml")
  37. testCompile("org.hibernate:hibernate-validator")
  38. testCompile("javax.validation:validation-api")
  39. testCompile "io.reactivex.rxjava2:rxjava"
  40. testCompile("io.projectreactor:reactor-test")
  41. testCompile("io.undertow:undertow-core")
  42. testCompile("org.apache.tomcat.embed:tomcat-embed-core")
  43. testCompile("org.apache.tomcat:tomcat-util")
  44. testCompile("org.eclipse.jetty:jetty-server")
  45. testCompile("org.eclipse.jetty:jetty-servlet")
  46. testCompile("org.eclipse.jetty:jetty-reactive-httpclient")
  47. testCompile("com.squareup.okhttp3:mockwebserver")
  48. testCompile("org.jetbrains.kotlin:kotlin-script-runtime")
  49. testRuntime("org.jetbrains.kotlin:kotlin-scripting-jsr223-embeddable")
  50. testRuntime("org.jruby:jruby")
  51. testRuntime("org.python:jython-standalone")
  52. testRuntime("org.synchronoss.cloud:nio-multipart-parser")
  53. testRuntime("org.webjars:underscorejs")
  54. testRuntime("org.glassfish:javax.el")
  55. testRuntime("com.sun.xml.bind:jaxb-core")
  56. testRuntime("com.sun.xml.bind:jaxb-impl")
  57. testRuntime("com.sun.activation:javax.activation")
  58. }
  59. test {
  60. maxParallelForks = 4
  61. }