build.gradle 749 B

12345678910111213141516171819202122232425262728
  1. apply plugin: 'java'
  2. apply plugin: 'war'
  3. apply plugin: 'eclipse'
  4. apply plugin: 'idea'
  5. war {
  6. baseName = 'gs-messaging-websocket'
  7. version = '0.1.0'
  8. }
  9. repositories {
  10. mavenCentral()
  11. maven { url "http://repo.springsource.org/libs-snapshot" }
  12. }
  13. dependencies {
  14. compile("org.springframework:spring-webmvc:4.0.0.RC1")
  15. compile("org.springframework:spring-websocket:4.0.0.RC1")
  16. compile("org.springframework:spring-messaging:4.0.0.RC1")
  17. compile("com.fasterxml.jackson.core:jackson-databind:2.2.3")
  18. providedCompile("javax.websocket:javax.websocket-api:1.0-rc5")
  19. providedCompile("javax.servlet:javax.servlet-api:3.1-b09")
  20. testCompile("junit:junit:4.11")
  21. }
  22. task wrapper(type: Wrapper) {
  23. gradleVersion = '1.6'
  24. }